orca.wrapper.change_phase_centre

Phase center manipulation wrapper.

Provides Python interface to the chgcentre tool for re-phasing visibility data to a new phase center.

Attributes

CHGCENTRE_PATH

Functions

change_phase_center(→ str)

Change the phase center of a measurement set.

get_phase_center(→ astropy.coordinates.SkyCoord)

Get the current phase center of a measurement set.

Module Contents

orca.wrapper.change_phase_centre.CHGCENTRE_PATH = '/opt/bin/chgcentre'[source]
orca.wrapper.change_phase_centre.change_phase_center(ms: str, center_dir: str) str[source]

Change the phase center of a measurement set.

Parameters:
  • ms – Path to the measurement set (modified in-place).

  • center_dir – New phase center as ‘RA DEC’ string in HMS/DMS format.

Returns:

Path to the modified measurement set.

orca.wrapper.change_phase_centre.get_phase_center(ms: str) astropy.coordinates.SkyCoord[source]

Get the current phase center of a measurement set.

Parameters:

ms – Path to the measurement set.

Returns:

Phase center as an astropy SkyCoord object.