punchbowl.levelq.flow#
Attributes#
Functions#
|
Run the LQ QNN flow. |
|
Level quickPUNCH core flow. |
|
Level Q CTM flow. |
|
Level Q QAM flow. |
Module Contents#
- punchbowl.levelq.flow.ORDER_QP = ['QM1', 'QZ1', 'QP1', 'QM2', 'QZ2', 'QP2', 'QM3', 'QZ3', 'QP3']#
- punchbowl.levelq.flow.SPACECRAFT_OBSCODE#
- punchbowl.levelq.flow.levelq_QNN_core_flow(data_list: list[str] | list[ndcube.NDCube], output_filename: list[str] | None = None, files_to_fit: list[str | ndcube.NDCube | punchbowl.util.DataLoader] | None = None, data_root: str | None = None) list[ndcube.NDCube][source]#
Run the LQ QNN flow.
This flow is designed to run on a batch of input CR4 images to facilitate more efficient PCA fitting.
- Parameters:
data_list (list[str | NDCube]) – The input images, either as paths or NDCubes
output_filename (list[str]) – Optional output paths at which the QNN files should be written
files_to_fit (list[str | NDCube | DataLoader]) – Additional files to use for the PCA fitting, but not to actually be filtered or output
data_root (str) – The root directory which the paths in
data_listare relative to
- Returns:
output_cubes – The QNN data cubes
- Return type:
list[NDCube]
- punchbowl.levelq.flow.levelq_CQM_core_flow(data_list: list[str] | list[ndcube.NDCube], output_filename: list[str] | None = None, trim_edges_px: int = 0, alphas_file: str | None = None, trefoil_wcs: astropy.wcs.WCS | None = None, trefoil_shape: tuple[int, int] | None = None) list[ndcube.NDCube][source]#
Level quickPUNCH core flow.