pol_matrix_multiply
- ska_sdp_datamodels.science_data_model.pol_matrix_multiply(cm, vec, polaxis=0)[source]
Matrix multiply of appropriate axis of vec […,:] by cm
For an image vec has axes [nchan, npol, ny, nx] and polaxis=1 For visibility vec has axes [row, nchan, npol] and polaxis=2 For visibility vec has axes [row, ant, ant, nchan, npol] and polaxis=4
- Parameters:
cm – matrix to apply
vec – array to be multiplied […,:]
polaxis – which axis contains the polarisation
- Returns:
multiplied vec