purity_estimation¶
-
muse_origin.
purity_estimation
(cat, Pval, Pval_comp)[source]¶ Function to compute the estimated purity for each line.
- Parameters
- cat
astropy.Table
Catalog of parameters of detected emission lines selected with a narrow band test.
- Pval
astropy.table.Table
Table with the purity results for each threshold
- Pval_comp
astropy.table.Table
Table with the purity results for each threshold, in complementary
- cat
- 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