gen_cdm
- ska_sdp_func_python.calibration.solver_utils.gen_cdm(gXi, gYi, dXYi, dYXi, gXj, gYj, dXYj, dYXj)
Generate Complex Diff matrix for baseline i-j.
Generate a 4x4 matrix containing the derivatives with respect to each relevant gain and leakage free parameter for this baseline. Polarisation ordering is XX XY YX YY.
Based on the approach used in ASKAPSoft/YANDASoft gain and leakage solvers.
- Parameters:
gXi,gYi,dXYi,dYXi – current estimates of the complex gain and leakage terms for the first antenna in the baseline
gXj,gYj,dXYj,dYXj – current estimates of the complex gain and leakage terms for the second antenna in the baseline
- Returns:
List containing the 16 derivative 4x4 matrices