Skip to content

Decide on whether SpectralRegion.extract_from or similar should exist #351

@eteq

Description

@eteq

Most of the context is here: #289 (comment) - for 0.4 we decided to implement the `extract_region function, but we should decide if the public API should be the method-style or the function-style.

My vote is for region.extract_from(spectrum), as I think that's easier to work with and gives the possibility of specialized regions that do specialized forms of extraction (a functional approach doesn't allow that because there's only one function), among other reasons. Other thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions