spectral-cockpit / opusreader2

Read OPUS binary files from Fourier-Transform Infrared (FT-IR) spectrometers of the company Bruker Optics GmbH & Co. in base R
https://spectral-cockpit.github.io/opusreader2/
MIT License
18 stars 2 forks source link

🏗 Support new block keys 132 & 136 #58

Open philipp-baumann opened 1 year ago

philipp-baumann commented 1 year ago

issue raised and OPUS file provided here:

https://github.com/qedsoftware/brukeropusreader/issues/17

r$> file <- system.file("extdata/test_data", "211118_EM27-SUN_#155_BA.0000", package
     = "opusreader2")

r$> data <- read_opus(dsn = file)
Error in structure(c(data_list, list(block_type_name = block_type_name)),  : 
  object 'block_type_name' not found

proposed fix:

https://github.com/spectrochempy/brukeropusreader/pull/6

=> add block type in R/create_dataset.R

philipp-baumann commented 1 year ago

we should check also in Bruker OPUS software to understand why and when there is a second interferogram and single channel reflectance of the sample. cc @atravert

philipp-baumann commented 1 year ago

stop-proactively-ft-ir-remote

-> I'll wait to add until we have thoroughly reviewed an merged #61

philipp-baumann commented 1 year ago

Very cool, this is the new EM27/SUN series spectrometer for FT-IR remote sensing https://www.bruker.com/en/products-and-solutions/infrared-and-raman/remote-sensing/em27-sun-solar-absorption-spectrometer.html

philipp-baumann commented 1 year ago

Thanks a lot @laura-summerauer for providing the screenshots

Bruker_EM27-SUN_viewer1 Bruker_EM27-SUN_viewer2 Bruker_EM27-SUN_viewer3 Bruker_EM27-SUN_viewer4 Bruker_EM27-SUN_viewer5 Bruker_EM27-SUN_viewer6 Bruker_EM27-SUN_viewer7 Bruker_EM27-SUN_viewer8 Bruker_EM27-SUN_viewer9
philipp-baumann commented 1 year ago
Bruker_EM27-SUN_viewer10 Bruker_EM27-SUN_viewer11 Bruker_EM27-SUN_viewer12 Bruker_EM27-SUN_viewer13-a Bruker_EM27-SUN_viewer13-b Bruker_EM27-SUN_viewer14-a