<< (X->X) Other pretaitments (X->X) Other pretaitments msc >>

fact >> (X->X) Other pretaitments > gapremove

gapremove

corects from sharp baseline shifts, typically observed when lamps are switched

Calling sequence

xcorr = gapremove(x,list,window);

Arguments

x:

a dataset of spectra

spectra are rows in a matrix or in a Div structure

list:

the indexes of the variables on the left side of a correction; for example, if shifts are observed between variables 53 and 54, then between 127 and 128, then between 456 and 457, list shoud contain: [53 127 456]

window:

the number of values used for the slope calculation.

Examples

x_out = gapremove(x_in, [13 56 89], 10);

Authors


Report an issue
<< (X->X) Other pretaitments (X->X) Other pretaitments msc >>