hProjectPolarizations(polx, poly, polz, polt, polp, az, el)
Project on-sky polarizations onto x,y,z.
Parameters
polx Polarization X. poly Polarization Y. polz Polarization Z. polt Polarization theta. polp Polarization phi. az Azimuth in radians East positive from North. el Elevation in radians positive up.
hProjectPolarizationsInverse(pol0, pol1, polx, poly, polz, az, el)
Project on-sky polarizations onto x,y,z.
Parameters
pol0 Polarization 0. pol1 Polarization 1. polx Polarization X. poly Polarization Y. polz Polarization Z. az Azimuth with respect to antenna frame. el Elevation with respect to antenna frame.
hStokesParameters(S, polx, poly, polxh, polyh, signal_start, signal_end)
Calculate Stokes parameters I, Q, U and V
Parameters
S Stokes parameters I, Q, U and V. polx Polarization X. poly Polarization Y. polxh Hilbert transform of polarization X. polyh Hilbert transform of polarization Y. signal_start Start of signal window. signal_end End of signal window.
hGetJonesMatrix(J, f, az, el, Vtheta, Vphi, fstart, fstep, fn, tstart, tstep, tn, pstart, pstep, pn)
Calculate Jones matrix for given frequencies and positions.
Parameters
J Jones matrix. f Frequency. az Azimuth in degrees East positive from North. el Elevation in degrees positive up. Vtheta Table with response of theta polarization. Vphi Table with response of phi polarization. fstart fstep fn tstart tstep tn pstart pstep pn
hDiagonalMatrix(M, v)
Create matrix with a given values on the diagonal
Parameters
M Square diagonal matrix. v Values to put on the diagonal.
hSwap(vec0, vec1)
Swap two vectors
Parameters
vec0 Vector 0. vec1 Vector 1.
hMatrixMix(vec0, vec1, M)
Mix two vectors using a mixing matrix
Parameters
vec0 Vector 0. vec1 Vector 1. M 2 dimensional mixing matrix.
hInvertMatrix(Minv, M, n)
Invert n x n matrix
Parameters
Minv Inverse matrix (can be the same as the input to save memory). M Matrix. n Dimension.
hInvertComplexMatrix(Minv, M, n)
Invert n x n matrix
Parameters
Minv Inverse matrix (can be the same as the input to save memory). M Matrix. n Dimension.
hMultiplyMatrix(C, A, B, n, m, p)
Multiply two matrices
Parameters
C Output (n * p) matrix (can be the same as one of the two inputs to save memory but only for square matrices). A Input (n * m) matrix. B Input (m * p) matrix. n Dimension. m Dimension. p Dimension.
hMultiplyComplexMatrix(C, A, B, n, m, p)
Multiply two matrices
Parameters
C Output (n * p) matrix (can be the same as one of the two inputs to save memory but only for square matrices). A Input (n * m) matrix. B Input (m * p) matrix. n Dimension. m Dimension. p Dimension.
hInvertComplexMatrix2D(Minv, M)
Invert 2 x 2 matrix
Parameters
Minv Inverse matrix (can be the same as the input to save memory). M Matrix.
hNumberOfConsecutiveZeros(nof, signal)
Data validation check
Parameters
nof Number of consectutive zeros. signal Signal