fixed save path

This commit is contained in:
Abyss Halley 2025-08-22 13:11:07 -04:00
parent f72f7edeb2
commit 2388ac2412

View file

@ -326,7 +326,7 @@ def compute_snr_from_h5(h5_file, detrend_ft=True, mad_filter=True, save=False, s
#%%
for pulsar_dir in pulsar_dir_list:
save_path = save_path_list[i] #AH: link directory and save path in a bit of a messy way oops
save_path = os.path.join(pulsar_dir, "calib-pngs", "")
h5_dir = os.path.join(pulsar_dir,"cands","")
h5_files = sorted(glob.glob(f"{h5_dir}*.h5"))