astrohack.extract_pointing
Functions
|
Extract pointing data from measurement set. Creates holography output file. |
Module Contents
- extract_pointing(ms_name: str, point_name: str | None = None, parallel: bool = False, overwrite: bool = False) astrohack.io.point_mds.AstrohackPointFile | None[source]
Extract pointing data from measurement set. Creates holography output file.
- Parameters:
ms_name (str) – Name of input measurement file name.
point_name (str, optional) – Name of <point_name>.point.zarr file to create. Defaults to measurement set name with point.zarr extension.
parallel (bool, optional) – Boolean for whether to process in parallel. Defaults to False
overwrite (bool, optional) – Overwrite pointing file on disk, defaults to False
- Returns:
Holography point object.
- Return type:
Example Usage In this case, the pointing_name is the file name to be created after extraction.
from astrohack.extract_pointing import extract_pointing extract_pointing( ms_name="astrohack_observation.ms", point_name="astrohack_observation.point.zarr" )
AstrohackPointFile
Point object allows the user to access point data via dictionary keys with values ant. The point object also provides a summary() helper function to list available keys for each file.