MatthiasPucher / staRdom

staRdom is a package for R to analyse fluorescence and absorbance data of dissolved organic matter (DOM).
21 stars 2 forks source link

Core consistency calculation #18

Closed Taojianchang closed 3 years ago

Taojianchang commented 4 years ago

Thanks for the package ! I have few confusions about calculating the core consistency. I have done the Raman normalization with my original data. But result from corcondia <- eempf_corcondia(pfmodel, eem_list) with 3 to 6 components were in the range of 9 to 10. It seemed I can't get a fine core consistency value. Do I need to do any other normalizations ?

MatthiasPucher commented 4 years ago

The pre-processing of the data is explained in the vignette and I would suggest to remove scatter, interpolate, IFE correction, Raman normalisation and calculating the PARAFAC model with normalised samples (no extra step, just an optional argument). The core consistency might be extremely severe with real-life fluorescence data. The following paper has some information on that.

Bro, R. PARAFAC. Tutorial and applications. Chemom. Intell. Lab. Syst. 1997, 38, 149–171.

Could you please consider this case. If you suspect a problem in the R code please do not hesitate to discuss it here.

MatthiasPucher commented 3 years ago

A bug in the calculation of the core consistency of normalized models was corrected in version 1.1.18.