Skip to content

Calculate gaussian noise relative to background level #177

@chummels

Description

@chummels

In talking with observers, I learned that we're calculating our spectral noise slightly wrong. When adding noise to a spectrum, we currently generate a noise vector for the entire spectrum assuming a continuum value of 1, that is, by calculating the scale of the noise to be 1/SNR. Strictly speaking, the scale of this gaussian should be equal to the continuum value / SNR, so if a user has added a quasar background or Milky Way foreground, the continuum may not be 1 along the spectral range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions