Skip to content

Support masking #41

@Firestar-Reimu

Description

@Firestar-Reimu

Description of the problem/new feature

for example I want to make a baseline fit for this spectrum

Image

but I want to mask out the -200<x<200 region

I need to manually mask the data

mask = (velocities < -200) | (velocities > 200)

v_masked = velocities[mask]
spec_masked = spectra[mask]

I think it is better to have a mask function integrated

Description of a possible solution or alternative

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