next up previous contents
Next: CHANGE-SIDEBAND Up: List of commands in Previous: BIN-SPECTRUM   Contents


CALCULATE-GAUSSIAN-MODEL

Pushes the stack, and then uses a subset of the currently defined set of gaussians to produce a model spectrum in the X-register. The gaussians are defined using ENTER-GAUSSIAN-MODEL, or may be input directly to the variables NGAUSS and AMP_WID_POS.

Relevant flags:
NGAUSS I4 Number of gaussian components currently defined.
AMP_WID_POS(30) R4 Amplitude, width and position of each component in current units (thus really AMP_WID_POS(3,10)).

Examples:

    >> calculate-gaussian-model<CR>
    Line or range of lines to model? (^Z to finish) [ 1, 2] 1 2<CR>
    Line or range of lines to model? (^Z to finish) [ 1, 2] ^z<CR>
    ..



Jamie Leech 2004-08-16