The code that takes the UVBeam data array into the jones matrix (in antenna.py) assumes a beam that has E-field components aligned with the azimuth and zenith angle axes. This should not be assumed, instead we need to use the basis_vector_array on UVBeam objects to get the mapping to azimuth/zenith angle aligned vectors.
The code that takes the UVBeam data array into the jones matrix (in antenna.py) assumes a beam that has E-field components aligned with the azimuth and zenith angle axes. This should not be assumed, instead we need to use the
basis_vector_array
on UVBeam objects to get the mapping to azimuth/zenith angle aligned vectors.