ska_sdp_wflow_pointing_offset.calibration.gt_solve module
Contains the following gain calibration (G-terms) functions:
Solves for the complex un-normalised antenna gains (G-terms)
Optionally calculates model visibility when fitting beams to the gain amplitudes
- ska_sdp_wflow_pointing_offset.calibration.gt_solve.compute_gains(vis, source=None)[source]
Solves for the antenna gains for the parallel-hands only.
- Parameters:
vis – The list of observed Visibility
- Source:
Target SkyCoord
- Returns:
GainTable containing solutions
- ska_sdp_wflow_pointing_offset.calibration.gt_solve.extract_parallel_hand_gains(gaintable)[source]
Extracts the parallel-hands polarisation gain solutions
- Parameters:
gaintable – The gain solutions for each scan with dimensions (time, antenna, frequency, receptor1, receptor2)
- Returns:
Gain amplitudes and weights for each scan