You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an error trying to add together 3 or more uvpspec objects. When I add the first two together, it changes the order of polarizations, which then doesn't match the order in the 3rd object. This manifests in a AssertionError: scalar_array must be the same for all uvps given concatenation along blpairts. which presumably is a consequence of the scalar_array depending on the beam.
which means that the order was pV, pI, pU, pQ before the sum and pI, pQ, pU, pV after.
The work around here is to just ensure that the UVData object going into power spectrum estimation has polarizations in numerical/alphabetical order. But this still feels like a bug to me.
The text was updated successfully, but these errors were encountered:
I got an error trying to add together 3 or more uvpspec objects. When I add the first two together, it changes the order of polarizations, which then doesn't match the order in the 3rd object. This manifests in a
AssertionError: scalar_array must be the same for all uvps given concatenation along blpairts.
which presumably is a consequence of the scalar_array depending on the beam.I found this by doing
and got
which means that the order was pV, pI, pU, pQ before the sum and pI, pQ, pU, pV after.
The work around here is to just ensure that the UVData object going into power spectrum estimation has polarizations in numerical/alphabetical order. But this still feels like a bug to me.
The text was updated successfully, but these errors were encountered: