astrohack.extract_pointing
¶
Module Contents¶
Functions¶
|
Extract pointing data from measurement set. Creates holography output file. |
-
extract_pointing
(ms_name: str, point_name: str = None, exclude: Union[str, List[str]] = None, parallel: bool = False, overwrite: bool = False) → astrohack.mds.AstrohackPointFile[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.
exclude (list, optional) – Name of antenna to exclude from extraction.
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.