Closed sgibb closed 11 years ago
add isRegular
(1a017ef7791447efdf3a2b84230d34740d78abb4)
So if I use isRegular
and get the result of TRUE
, I can conclude that my data is profile data?
You are right: if isRegular
is TRUE
your data are in profile mode and nothing was filtered.
If isRegular
returns FALSE
your data are centroided or filtered (e.g. CompassXport removes m/z values which corresponding intensity values are zero from profile).
Thank you for your reply. I open an issue I found recently here.
Centroided or missing mass values break our window-based baseline correction and peak detection algorithms. That's why the constructor
createMassSpectrum
has to test for centroided or missing mass values and shows a warning if needed.