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. |
Module Contents#
- simpunch.level3.define_mask(shape: int, int = (4096, 4096), distance_value: float = 0.68) numpy.ndarray[source]#
Define a mask to describe the FOV for low-noise PUNCH data products.
- simpunch.level3.define_trefoil_mask(rotation_stage: int = 0) numpy.ndarray[source]#
Define a mask to describe the FOV for trefoil mosaic PUNCH data products.
- simpunch.level3.generate_uncertainty(pdata: ndcube.NDCube) ndcube.NDCube[source]#
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[source]#
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[source]#
Assemble a punchdata object with correct metadata for a clear data product.