orca.wrapper.ttcal ================== .. py:module:: orca.wrapper.ttcal .. autoapi-nested-parse:: TTCal peeling and calibration wrapper. Provides Python interface to TTCal, a Julia-based direction-dependent calibration tool for peeling bright sources from visibility data. Supports both standard peeling and polarized (ZEST) peeling modes. Attributes ---------- .. autoapisummary:: orca.wrapper.ttcal.TTCAL_EXEC Functions --------- .. autoapisummary:: orca.wrapper.ttcal.peel_with_ttcal orca.wrapper.ttcal.zest_with_ttcal Module Contents --------------- .. py:data:: TTCAL_EXEC :value: '/opt/devel/pipeline/envs/julia060/bin/ttcal.jl' .. py:function:: peel_with_ttcal(ms: str, sources: str) Use TTCal to peel sources. :param ms: Path to the measurement set. :param sources: Path to the sources.json file. Returns: The path to the measurement set because TTCal reads from and writes to it. .. py:function:: zest_with_ttcal(ms: str, sources: str = '/yourdirectory/sources.json', beam: str = 'constant', minuvw: int = 10, maxiter: int = 30, tolerance: str = '1e-4') Use TTCal to run 'zest' with sensible defaults. :param ms: Path to the measurement set. :param sources: Path to the sources.json file (default: /yourdirectory/sources.json). :param beam: TTCal beam model (default: 'constant'). :param minuvw: Minimum uvw in wavelengths (default: 10). :param maxiter: Maximum iterations (default: 30). :param tolerance: Solver tolerance (default: '1e-4'). Returns: The path to the measurement set (TTCal reads/writes in-place).