tlpipe.core.tl_array.AntennaArray.refract¶
-
AntennaArray.
refract
(u_sf, v_sf, mfreq=0.15, ionref=(0.0, 0.0))[source]¶ Calibrate a frequency-dependent source offset by scaling measured offsets at a given frequency. Generates dw, a change in the projection of a baseline towards that source, which can be used to fix the computed phase of that source. ionref = (dra, ddec) where dra, ddec are angle offsets (in radians)
of sources along ra/dec axes at the specified mfreq.- u_sf,v_sf = u,v components of baseline, used to compute the
- change in w given angle offsets and the small angle approx. Should be numpy arrays with sources (s) along the 1st axis and freqs (f) along the 2nd.