liger_iris_pipeline.normalize.normalize
Functions
|
Divides the input frame by its own median, mean, or mode based on the method string. |
|
Short Summary Normalize a frame by dividing by its own mean or median |
- liger_iris_pipeline.normalize.normalize.apply_norm(input, method)[source]
Divides the input frame by its own median, mean, or mode based on the method string.
- Parameters:
input (data model object) – the input science data
method (string) – name of numpy method to use for normalization, e.g. median (default) or mean mode uses scipy.stats.mode
- Returns:
output (data model object) – normalized frame
- liger_iris_pipeline.normalize.normalize.do_correction(input_model, method='median')[source]
Short Summary
Normalize a frame by dividing by its own mean or median
- param input_model:
the input science data
- type input_model:
data model object
- param method:
name of numpy method to use for normalization, e.g. median (default) or mean
- type method:
string
- Returns:
output_model (data model object) – normalized frame