cluster_design_matrix
- ska_sdp_func_python.calibration.ionosphere_solvers.cluster_design_matrix(mdl_data, mask0, ant1, ant2, coeff, stn2cid, wl_const, n_param, cid)[source]
Generate elements of the design matrix for the current cluster.
Dereference outside of loops and the function call to avoid overheads.
- Parameters:
mdl_data – [n_time,n_baseline,n_pol] predicted model vis for chan
mask0 – [n_baseline] mask of wanted data samples
ant1 – [n_baseline] station index of first antenna in each baseline
ant2 – [n_baseline] station index of second antenna in each baseline
coeff – [n_station] list of basis-func value vectors, one per station
stn2cid – [n_station] mapping from station index to cluster index
wl_const – 2*pi*lambda for the current frequency channel
cid – index of current cluster
n_param – number of parameters in Normal equation