I find that the function of "basecorr" is very useful, since my spectrometer always has a problem with the baseline.
But I do not really understand what does the "Dim" input mean in the description.
Is it necessary that the input Spec is 1D array? or do I have to include the field information in the Spec?
If Spec is 1D, then what does the dim do there?
question about basecorr
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: question about basecorr
The Dimension specifies along which dimension basecorr() should apply the baseline correction. If your data is 1D, then this depends on whether it's a 1D column vector, or a 1D row vector. For the column vector, apply it along dimension 1, and for the row vector along dimension 2.