aces.holography.bptable

Module Contents

Classes

BandpassTable

Functions

copy_and_overwrite(from_path, to_path)

Copy and overwrite directory

main(bs_tab, hl_tab, beam, mySBID)

Main script

cli()

class aces.holography.bptable.BandpassTable[source]
getcol(inTable, colName, antNum, beamNum, nPol=4)[source]

Get column of BP table

Parameters:
  • inTable (str) – Name of table on disk

  • colName (str) – Name of column ‘BANDPASS’ or ‘BPLEAKAGE’

  • antNum (int) – Antenna index

  • beamNum (int) – Beam index

  • nPol (int, optional) – Number of polarisations, defaults to 4

putcol(outTable, colName, antNum, beamNum, nPol=4)[source]

Write column to BPTable

Parameters:
  • outTable (str) – Output table

  • colName (str) – Column to overwrite - ‘BANDPASS’ or ‘BPLEAKAGE’

  • antNum (int) – Antenna index

  • beamNum (int) – Beam index

  • nPol (int, optional) – Number of polarisations, defaults to 4

aces.holography.bptable.copy_and_overwrite(from_path, to_path)[source]

Copy and overwrite directory

Args:

from_path (str): Source path to_path (str): Destination path

aces.holography.bptable.main(bs_tab, hl_tab, beam, mySBID)[source]

Main script

Parameters:
  • bs_tab (str) – Boresight bandpass table

  • hl_tab (str) – Holography bandpass table

  • beam (int) – Beam index

  • mySBID (int) – SBID of holography observation

Returns:

Combined bandpass table

Return type:

str

aces.holography.bptable.cli()[source]