Skip to content

Removing Deep lines from the Mask #68

Description

@CharlesCadieux

Lines 175 in lbl_mask are effectively removing deep lines from the mask (e.g. atomic line in Sun-like star spectra).

med_weight = np.nanmedian(np.abs(line_table['w_mask']))
weight_nsig = np.abs(line_table['w_mask']) < 10 * med_weight
# cut down the line table
line_table = line_table[weight_nsig]

this is a major issue that should probably not be hard coded, but might be important in the presence of outliers. For my goals, I commented this step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions