From e25ca84e05db5b78f28314e6f16a5d61627d6682 Mon Sep 17 00:00:00 2001 From: "Allen M. Foster" Date: Fri, 17 Apr 2026 12:15:37 -0400 Subject: [PATCH] add the rho, kappa maps to actingest --- mapcat/toolkit/act.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mapcat/toolkit/act.py b/mapcat/toolkit/act.py index 5370fa2..247cd57 100644 --- a/mapcat/toolkit/act.py +++ b/mapcat/toolkit/act.py @@ -52,6 +52,8 @@ def parse_filenames(base: str, relative_to: Path) -> dict[str, str]: "info": Path(base + "_info.hdf"), "ivar": Path(base + "_ivar.fits"), "time": Path(base + "_time.fits"), + "rho": Path(base + "_rho.fits"), + "kappa": Path(base + "_kappa.fits") } # In case e.g. there is no inverse-variance map. @@ -78,6 +80,8 @@ def create_objects(base: str, relative_to: Path, telescope: str) -> DepthOneMapT map_name=filenames["map"].replace("_map.fits", ""), map_path=filenames["map"], ivar_path=filenames.get("ivar"), + rho_path=filenames.get("rho"), + kappa_path=filenames.get("kappa"), mean_time_path=filenames.get("time"), tube_slot=file_info["tube_slot"], frequency=file_info["frequency"],