EoRImaging / FHD

Fast Holographic Deconvolution
BSD 2-Clause "Simplified" License
20 stars 10 forks source link

beam_setup crashes when not all antenna pairs are represented in the data #309

Closed rlbyrne closed 1 year ago

rlbyrne commented 1 year ago

I am processing a simulation in which a small subset of antenna pairs are actually represented as baseline measurements in the data set, so the number of antennas actually exceeds the number of baselines. However, the beam group syntax in beam_setup assumes that all possible antenna pairs are present in the data. This is the traceback of the error:

% Array used to subscript array contains out of range subscript: GROUP_ARR.
% Execution halted at: BEAM_SETUP        196
   /home/rbyrne/FHD/fhd_core/beam_modeling/beam_setup.pro
%                      FHD_MAIN           75
   /home/rbyrne/FHD/fhd_core/fhd_main.pro
%                      GENERAL_OBS       146
   /home/rbyrne/FHD/Observations/general_obs.pro