orca.transform.peeling

Peeling transforms for bright source subtraction.

Provides functions for peeling (direction-dependent calibration and subtraction) of bright sources like Cygnus A, Cassiopeia A, and RFI sources from visibility data. Supports both TTCal-based and CASA-based peeling workflows including polarized (ZEST) peeling.

Attributes

log

CORRECTED_DATA

DATA

Functions

ttcal_peel_from_data_to_corrected_data(→ str)

Use TTCal to peel. Read from DATA column and write to CORRECTED_DATA

zest_with_casa(ms[, reverse])

Polarized peeling with CASA.

Module Contents

orca.transform.peeling.log[source]
orca.transform.peeling.CORRECTED_DATA = 'CORRECTED_DATA'[source]
orca.transform.peeling.DATA = 'DATA'[source]
orca.transform.peeling.ttcal_peel_from_data_to_corrected_data(ms: str, utc_time: datetime.datetime, include_rfi_source: bool = True) str[source]

Use TTCal to peel. Read from DATA column and write to CORRECTED_DATA If the CORRECTED_DATA column exists, it does not do anything.

Parameters:
  • ms – Path to measurement set.

  • utc_time – datetime object to figure out what sources are up.

  • include_rfi_source – Include near-field generic RFI sources in peel.

Returns: The output measurement set (which is the same thing as the input measurement set).

orca.transform.peeling.zest_with_casa(ms: str, reverse: bool = False)[source]

Polarized peeling with CASA. Currently, peeling list will only include at most CasA & CygA. The peeled visibilities will be placed in CORRECTED_DATA.

Parameters:
  • ms – The measurement set.

  • reverse – Reverse the peeling process. Default is False.

Returns:

Path to measurement set that was modified.