Skip to content

sklakegg/NIRS-Spectra-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Near-infrared spectroscopy - Spectra analysis

This script is used to load, preprocess and analyse NIRS spectra.

Directory structure

The script expects the following directory structure (set dir_csvdata and conf_name in script based on these):

  • dir_csvdata
    • sample_type_1
      • nameconf_name.csv (Ex: omega_3Default_294267_20180130_184638.csv)
      • nameconf_name.csv (Ex: omega_3Default_294268_20180130_184704.csv)
    • sample_type_2
    • ...
    • sample_type_n

Data format

The script expects the .csv files to use the format shown in the figure.

int_configrows_remove variable in the script is set to 22 as seen from orange box.

int_nwavelengths is set based on the scan resolution (number of wavelengths).

The wavelength column should always be the first, followed by absorbance (seen in red box).

nirs_readme_pic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages