purity_estimation

muse_origin.purity_estimation(cat, Pval, Pval_comp)[source]

Function to compute the estimated purity for each line.

Parameters
catastropy.Table

Catalog of parameters of detected emission lines selected with a narrow band test.

Pvalastropy.table.Table

Table with the purity results for each threshold

Pval_compastropy.table.Table

Table with the purity results for each threshold, in complementary

Returns
astropy.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 purity