Description Usage Arguments See Also Examples
View source: R/plot_curvefit.R
Supplied with a spectrum as a tab-separated text-file with wavenumber and intensites, and a curvefit-results table from Wire, it will generate columns for each peak with the corresponding intensities, for easy plotting. The envelope of the fit is also calculated by summing all peaks at each wavenumber.
1 | gr_cf_fit_add(spectrum_file, cf_file)
|
spectrum_file |
Path to a tab-separated file with a spectrum in two columns (wavenumber and intensity) |
cf_file |
Path to a file containing a curvefit results table (made in Wire by right-clicking results of a curvefit and choosing Copy Results) |
Other raman fits: gr_cf_fit_plot
1 2 3 4 | curvefit <- system.file("extdata/curvefit_data.txt", package = "gRaphene")
spectrum <- system.file("extdata/spectrum_example.txt", package = "gRaphene")
gr_cf_fit_add(spectrum, curvefit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.