From cf9de0d1427e6978d31c4472b59f71c32f580a08 Mon Sep 17 00:00:00 2001 From: elvinpoole Date: Wed, 9 Oct 2024 14:28:24 -0400 Subject: [PATCH] added descriptions of balrog columns --- txpipe/ingest/ssi.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/txpipe/ingest/ssi.py b/txpipe/ingest/ssi.py index b3eb2e6b..546496b3 100644 --- a/txpipe/ingest/ssi.py +++ b/txpipe/ingest/ssi.py @@ -328,16 +328,16 @@ def run(self): #we will only load a subset of columns to save space column_names = { - "bal_id": "bal_id", - "true_bdf_mag_deredden": "inj_mag", - "true_id": "inj_id", - "meas_id": "id", - "meas_ra": "ra", - "meas_dec": "dec", - "meas_cm_mag_deredden": "mag", - "meas_cm_T": "cm_T", - "meas_EXTENDED_CLASS_SOF": "EXTENDED_CLASS_SOF", - "meas_FLAGS_GOLD_SOF_ONLY": "FLAGS_GOLD", + "bal_id": "bal_id", # Unique identifier for object (created during balrog process) + "true_bdf_mag_deredden": "inj_mag", # Magnitude of the original deep field object, dereddened + "true_id": "inj_id", # Original coadd_obj_id of deep field object + "meas_id": "id", # Coadd_object_id of injection + "meas_ra": "ra", # measured RA of the injection + "meas_dec": "dec", # measured DEC of the injection + "meas_cm_mag_deredden": "mag", # measured magnitude of the injection + "meas_cm_T": "cm_T", # measured size parameter T (x^2+y^2) + "meas_EXTENDED_CLASS_SOF": "EXTENDED_CLASS_SOF", # Star galaxy classifier (0,1=star, 2,3=Galaxy) + "meas_FLAGS_GOLD_SOF_ONLY": "FLAGS_GOLD", # Measured flags (short version) } cols = list(column_names.keys())