punchbowl.level3.stellar#
Functions#
|
Create a background starfield_bg map from a series of PUNCH images over a long period of time. |
|
Subtract starfield background. |
|
Subtracts a background starfield from an input data frame. |
|
Create an empty starfield background map. |
Module Contents#
- punchbowl.level3.stellar.generate_starfield_background(data_object: ndcube.NDCube, n_sigma: float = 5, map_scale: float = 0.01, target_mem_usage: float = 1000) ndcube.NDCube#
Create a background starfield_bg map from a series of PUNCH images over a long period of time.
- punchbowl.level3.stellar.subtract_starfield_background(data_object: ndcube.NDCube, starfield_background_model: remove_starfield.Starfield) ndcube.NDCube#
Subtract starfield background.
- punchbowl.level3.stellar.subtract_starfield_background_task(data_object: ndcube.NDCube, starfield_background_path: str | None) ndcube.NDCube#
Subtracts a background starfield from an input data frame.
checks the dimensions of input data frame and background starfield match and subtracts the background starfield from the data frame of interest.
- Parameters:
data_object (punchbowl.data.PUNCHData) – A PUNCHData data frame to be background subtracted
starfield_background_path (str) – path to a PUNCHData background starfield map
- Returns:
A background starfield subtracted data frame
- Return type:
‘punchbowl.data.PUNCHData’
- punchbowl.level3.stellar.create_empty_starfield_background(data_object: ndcube.NDCube) numpy.ndarray#
Create an empty starfield background map.