estimation_line

muse_origin.estimation_line(Cat1, raw, var, psf, wght, wcs, wave, size_grid=1, criteria='flux', order_dct=30, horiz_psf=1, horiz=5)[source]

Compute the estimated emission line and the optimal coordinates for each detected lines in a spatio-spectral grid.

Parameters
Cat1astropy.Table

Catalog of parameters of detected emission lines selected with a narrow band test. Columns: ra dec lbda x0 y0 z0 T_GLR profile

dataarray

raw data

vararray

MUSE variance

psfarray

MUSE PSF

wghtarray

PSF weights

wcsmpdaf.obj.WCS

RA-DEC coordinates.

wavempdaf.obj.WaveCoord

Spectral coordinates.

size_gridint

Maximum spatial shift for the grid

criteriastring

criteria used to choose the candidate in the grid: flux or mse

order_dctint

order of the DCT Used in the Denoised PCA LS, set to None the method become PCA LS only

horiz_psfint

Maximum spatial shift in size of PSF to compute the MSE

horizint

Maximum spectral shift to compute the criteria

Returns
Cat2astropy.Table

Catalog of parameters of detected emission lines. Columns: ra dec lbda x0 x1 y0 y1 z0 z1 T_GLR profile residual flux num_line

lin_estlist of arrays

Estimated lines in data space

var_estlist of arrays

Estimated lines in SNR space