EoRImaging / eppsilon

eppsilon - error propagated power spectrum with interleaved observed noise
BSD 2-Clause "Simplified" License
5 stars 4 forks source link

Error differencing two obs in the same directory #152

Open rlbyrne opened 2 years ago

rlbyrne commented 2 years ago

Attempting to run ps_diff_wrapper on two observations in the same FHD directory errors. The error occurs in compare_plot_prep because name_diff_parts is undefined. I found a hack-y workaround by replacing name_diff_parts with fhdtype_diff_parts. This allows the run to complete but saves the outputs to the wrong directory.

For reference, my function call looks like this: ps_diff_wrapper, ["/path/to/fhd_output"], ["obsid1", "obsid2"], /uvf_input, /png, /refresh_diff, pols=["xx"], /invert_colorbar, data_min_abs=[1e1,1e12]