export_pointingtable_to_hdf5

ska_sdp_datamodels.calibration.export_pointingtable_to_hdf5(pt: PointingTable, filename, **description)[source]

Export a PointingTable or list to HDF5 format

The description optional argument was implemented with the pointing offset calibration pipeline in mind so a user can add a description to some of the parameters written into the PointingTable.

The example below shows the description for some parameters written into the PointingTable as used by the pointing offset calibration pipeline: comments = {

“time”: “The time in MJD at the middle of all the scans”, “frequency”: “The central frequency if fitting to gains and ” “frequency at the higher end of the band if fitting to visibilities”, “weight”: “The inverse square of the uncertainties in the ” “pointing values”

} .. code-block:: python

export_pointingtable_to_hdf5(pt, filename, **comments): …

Parameters:
  • pt – Pointing Table

  • filename – Name of HDF5 file

  • description – Key value pair providing description to attributes in the PointingTable

Returns:

None