paws.core.operations.PROCESSING.BACKGROUND package

Submodules

paws.core.operations.PROCESSING.BACKGROUND.BgSubtractByTemperature module

class paws.core.operations.PROCESSING.BACKGROUND.BgSubtractByTemperature.BgSubtractByTemperature[source]

Bases: paws.core.operations.Operation.Operation

Find a background spectrum from a batch of background spectra, where the temperature of the background spectrum is as close as possible to the (input) temperature of the measured spectrum. Then subtract that background spectrum from the input spectrum. The measured and background spectra are expected to have the same domain.

Operation originally contributed by Amanda Fournier.

run()[source]

Operation.run() should use the Operation.inputs and set values for all of the items in Operation.outputs.

paws.core.operations.PROCESSING.BACKGROUND.SubtractMaximumBackground module

class paws.core.operations.PROCESSING.BACKGROUND.SubtractMaximumBackground.SubtractMaximumBackground[source]

Bases: paws.core.operations.Operation.Operation

Subtract a background from a foreground, with scaling to prevent over-subtraction. Optionally, input an intensity error array, and get an error estimate for the background-subtracted intensity.

Operation originally contributed by Amanda Fournier.

run()[source]

Operation.run() should use the Operation.inputs and set values for all of the items in Operation.outputs.

Module contents