EoRImaging / FHD

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

Fix indexing for `vis_baseline_hist` #312

Open SkyWa7ch3r opened 10 months ago

SkyWa7ch3r commented 10 months ago

This fixes an indexing issue found by Jack (@JLBLine) during the PyFHD testing, this should fix the results and save the values in each polarization rather than overwriting each polarization per loop inside the vis_res_ratio_mean and vis_res_sigma arrays. PyFHD and FHD get almost (precision error) the same results with this fix applied.

The previous vis_baseline_hist:

test_vis_baseline_hist_point_zenith_run1

The fixed vis_baseline_hist:

test_vis_baseline_hist_point_zenith_run1_after_fix