From 2388ac24126763dd3afbdce05bc8fcea54bac7c6 Mon Sep 17 00:00:00 2001 From: Abyss Halley Date: Fri, 22 Aug 2025 13:11:07 -0400 Subject: [PATCH] fixed save path --- singlepulse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singlepulse.py b/singlepulse.py index 0a70f25..8640b93 100644 --- a/singlepulse.py +++ b/singlepulse.py @@ -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"))