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
These lines assume that current_array_shapes is being used. If the UVData uses future_array_shape, it will break SkyModel evaluation (and maybe at other places.)
Thanks for making an issue about this. I don't necessarily know if I'd classify this as a bug, but this is something that has been in the back of my mind for a few months now. I chatted with Paul and was informed that the community would receive sufficient notice about when the future array shapes will become the new API, so I decided to put off dealing with it. There are also at least a few places in the Simulator class that need to be updated to accommodate using the future array shape.
I think I might want to make this a milestone for version 3, which I'm envisioning will implement the merger of the Simulator class and the VisibilitySimulation class. Curious to hear thoughts from @steven-murray.
It looks like initialize_uvdata_from_params is default to use future array shape from pyuvdata=>2.2.6. I do not see this mentioned in the pyuvdata changelogs though. Maybe @bhazelton can verify this.
As in the title.
hera_sim/hera_sim/visibilities/simulators.py
Lines 193 to 196 in 9576e78
These lines assume that
current_array_shapes
is being used. If the UVData usesfuture_array_shape
, it will break SkyModel evaluation (and maybe at other places.)hera_sim/hera_sim/visibilities/simulators.py
Line 83 in 9576e78
The text was updated successfully, but these errors were encountered: