simpunch.level3#
Generate synthetic level 3 data.
PTM - PUNCH Level-3 Polarized Mosaic CTM - PUNCH Level-3 Clear Mosaic
Functions#
|
Define a mask to describe the FOV for low-noise PUNCH data products. |
|
Define a mask to describe the FOV for trefoil mosaic PUNCH data products. |
|
Generate realistic uncertainty for PUNCH. |
|
Assemble a punchdata object with correct metadata. |
|
Assemble a punchdata object with correct metadata for a clear data product. |
|
Generate PTM - PUNCH Level-3 Polarized Mosaic. |
|
Generate CTM - PUNCH Level-3 Clear Mosaic. |
|
Generate all level 3 synthetic data. |
Module Contents#
- simpunch.level3.define_mask(shape: int, int = (4096, 4096), distance_value: float = 0.68) numpy.ndarray#
Define a mask to describe the FOV for low-noise PUNCH data products.
- simpunch.level3.define_trefoil_mask(rotation_stage: int = 0) numpy.ndarray#
Define a mask to describe the FOV for trefoil mosaic PUNCH data products.
- simpunch.level3.generate_uncertainty(pdata: ndcube.NDCube) ndcube.NDCube#
Generate realistic uncertainty for PUNCH.
- simpunch.level3.assemble_punchdata_polarized(input_tb: str, input_pb: str, wcs: astropy.wcs.WCS, product_code: str, product_level: str, mask: numpy.ndarray | None = None) ndcube.NDCube#
Assemble a punchdata object with correct metadata.
- simpunch.level3.assemble_punchdata_clear(input_tb: str, wcs: astropy.wcs.WCS, product_code: str, product_level: str, mask: numpy.ndarray | None = None) ndcube.NDCube#
Assemble a punchdata object with correct metadata for a clear data product.
- simpunch.level3.generate_l3_ptm(input_tb: str, input_pb: str, path_output: str, time_obs: datetime.datetime, time_delta: datetime.timedelta, rotation_stage: int) None#
Generate PTM - PUNCH Level-3 Polarized Mosaic.
- simpunch.level3.generate_l3_ctm(input_tb: str, path_output: str, time_obs: datetime.datetime, time_delta: datetime.timedelta, rotation_stage: int) None#
Generate CTM - PUNCH Level-3 Clear Mosaic.
- simpunch.level3.generate_l3_all(datadir: str, start_time: datetime.datetime, num_repeats: int = 1) None#
Generate all level 3 synthetic data.