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
Functions
Use TTCal to peel. Read from DATA column and write to CORRECTED_DATA |
|
|
Polarized peeling with CASA. |
Module Contents
- 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.