Skip to content

Document workflows for intensity calculations #672

Open
@nmearl

Description

@nmearl

Both issue #243 and #244 suggest ways of calculating the mean and standard deviations within a spectrum, respectively:

Oh and I guess the snippet above is now (v0.4) np.mean(extract_region(spectrum, reg).flux) or astropy.stats.sigma_clip(extract_region(spectrum, reg).flux, cenfunc=np.mean) if you want sigma-clipping

and

For completeness, in v0.4 that would be np.std(extract_region(spectrum, reg).flux)

These do not rise to the level of needing dedicated analysis functions but (as suggested in the linked issues) should be documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions