next up previous contents
Next: FOLD-SPECTRUM Up: List of commands in Previous: FIT-GAUSSIAN-MODEL   Contents


FIT-POLYNOMIAL-BASELINE

Fits a polynomial baseline of degree 10 or less to the data within the specified ranges. If the fit is successful the data stack is pushed and the fit is written to the X-register; use SUBTRACT-SPECTRUM to see the residuals.

Relevant flags:
N_INTS I4 Number of intervals to use for analysis.
BLF_INTS R4 Pairs of channels defining spectral intervals to be used for baseline fitting, analysis etc..

Examples:

    >> fit-polynomial-baseline<CR>
    Type intervals, one at a time, CTRL(Z) to finish
    Current units are km/s  

    # -10 10<CR>
    # ^z<CR>
    Order of polynomial to be fitted? [ 0] 2<CR>
    ..



Jamie Leech 2004-08-16