Package: lightr 1.7.1.9000
lightr: Read Spectrometric Data and Metadata
Parse various reflectance/transmittance/absorbance spectra file formats to extract spectral data and metadata, as described in Gruson, White & Maia (2019) <doi:10.21105/joss.01857>. Among other formats, it can import files from 'Avantes' <https://www.avantes.com/>, 'CRAIC' <https://www.microspectra.com/>, and 'OceanInsight' (formerly 'OceanOptics') <https://www.oceaninsight.com/> brands.
Authors:
lightr_1.7.1.9000.tar.gz
lightr_1.7.1.9000.zip(r-4.5)lightr_1.7.1.9000.zip(r-4.4)lightr_1.7.1.9000.zip(r-4.3)
lightr_1.7.1.9000.tgz(r-4.4-any)lightr_1.7.1.9000.tgz(r-4.3-any)
lightr_1.7.1.9000.tar.gz(r-4.5-noble)lightr_1.7.1.9000.tar.gz(r-4.4-noble)
lightr_1.7.1.9000.tgz(r-4.4-emscripten)lightr_1.7.1.9000.tgz(r-4.3-emscripten)
lightr.pdf |lightr.html✨
lightr/json (API)
NEWS
# Install 'lightr' in R: |
install.packages('lightr', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/lightr/issues
file-importreproducibilityreproducible-researchreproducible-sciencespectral-dataspectroscopy
Last updated 3 months agofrom:ff286dc09c (on main). Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 28 2024 |
R-4.5-win | OK | Sep 28 2024 |
R-4.5-linux | OK | Sep 28 2024 |
R-4.4-win | OK | Sep 28 2024 |
R-4.4-mac | OK | Sep 28 2024 |
R-4.3-win | OK | Sep 28 2024 |
R-4.3-mac | OK | Sep 28 2024 |
Exports:lr_convert_tocsvlr_get_metadatalr_get_speclr_parse_abslr_parse_genericlr_parse_irr8lr_parse_jazlr_parse_jazirradlr_parse_jdxlr_parse_procspeclr_parse_raw8lr_parse_rfl8lr_parse_rohlr_parse_spclr_parse_trmlr_parse_trtlr_parse_ttt
Dependencies:clicodetoolsdigestfuturefuture.applyglobalslistenvparallellyprogressrrlangxml2
Batch import with lr_get_spec() and lr_get_metadata()
Rendered frombatch_import.Rmd
usingknitr::rmarkdown
on Sep 28 2024.Last update: 2022-11-05
Started: 2018-11-23
Real life example
Rendered fromtrue_example.Rmd
usingknitr::rmarkdown
on Sep 28 2024.Last update: 2022-11-05
Started: 2019-09-02
Renormalise spectral data with a custom reference
Rendered fromrenormalise.Rmd
usingknitr::rmarkdown
on Sep 28 2024.Last update: 2024-07-11
Started: 2018-12-13
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert spectral data files to csv files | lr_convert_tocsv |
Extract metadata from spectra files | lr_get_metadata |
Extract spectral data from spectra files | lr_get_spec |
Generic function to parse spectra files that don't have a specific parser | lr_parse_generic |
Parse OceanInsight converted file | lr_parse_jaz lr_parse_jazirrad |
Parse OceanInsight JCAMP-DX (.jdx) file | lr_parse_jdx |
Parse OceanInsight ProcSpec file | lr_parse_procspec |
Parse SPC binary file | lr_parse_spc |
Parse Avantes binary file | lr_parse_abs lr_parse_irr8 lr_parse_raw8 lr_parse_rfl8 lr_parse_roh lr_parse_trm |
Parse Avantes converted file | lr_parse_trt lr_parse_ttt |