Skip to content

Commit

Permalink
CD dispersion sign
Browse files Browse the repository at this point in the history
  • Loading branch information
baptiste committed May 29, 2014
1 parent d5d9a1f commit 8fdba77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dispersion.r
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dispersion_spectrum <- function (cluster, material, medium = 1.33,

results$polarisation <- factor(results$polarisation, labels = c("R", "L"))
results <- rbind(results, data.frame(wavelength = wavelength, angles = angles, axes=axes,
value = c(res[, 4, , drop = TRUE] - res[, 1, , drop = TRUE]),
value = c(res[, 1, , drop = TRUE] - res[, 4, , drop = TRUE]),
type = "extinction", polarisation = "CD"))
}

Expand Down

0 comments on commit 8fdba77

Please sign in to comment.