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
While translating and testing for PyFHD I noticed the tile_flag variable inside fhd_struct_init_meta ends up with indexes beyond the array during it's creation furthermore, it ends up flagging tiles different for different polarizations. the end result is in fhd_struct_init_obs when applying the meta.tile_flag to tile_use on 2 polarizations we end up with flagged tiles, while on 4 polarizations we end up with no flagged tiles.
For now in PyFHD I apply the single_i to the flag column inside the metafits file and this gets read into the meta['tile_flag'] dictionary value which then gets applied to obs['baseline_info']['tile_use'] = 1 - meta['tile_flag'], is this a suitable approach that could be done in FHD as well?
This issue can be tested with the observation 1088716176, which is one of the observations used to test PyFHD via WODEN simulations or otherwise.
The text was updated successfully, but these errors were encountered:
SkyWa7ch3r
changed the title
fhd_struct_init_meta and fhd_strucct_init_obs tile flag bugfhd_struct_init_meta and fhd_struct_init_obs tile flag bug
Aug 25, 2023
While translating and testing for PyFHD I noticed the
tile_flag
variable insidefhd_struct_init_meta
ends up with indexes beyond the array during it's creation furthermore, it ends up flagging tiles different for different polarizations. the end result is infhd_struct_init_obs
when applying themeta.tile_flag
totile_use
on 2 polarizations we end up with flagged tiles, while on 4 polarizations we end up with no flagged tiles.For now in PyFHD I apply the
single_i
to theflag
column inside themetafits
file and this gets read into themeta['tile_flag']
dictionary value which then gets applied toobs['baseline_info']['tile_use'] = 1 - meta['tile_flag']
, is this a suitable approach that could be done in FHD as well?This issue can be tested with the observation
1088716176
, which is one of the observations used to test PyFHD via WODEN simulations or otherwise.The text was updated successfully, but these errors were encountered: