Skip to content

Commit 9f05943

Browse files
author
Raphael Shirley
committed
Made defaults filter number agnostic for ease of adding new ones
1 parent 86c0d6b commit 9f05943

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/rail/estimation/algos/lephare.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
lsst_default_config.update(
1717
{
1818
"CAT_IN": "undefined",
19-
"ERR_SCALE": "0.02,0.02,0.02,0.02,0.02,0.02",
20-
"FILTER_CALIB": "0,0,0,0,0,0",
19+
"ERR_SCALE": "0.02",
20+
"FILTER_CALIB": "0",
2121
"FILTER_FILE": "filter_lsst",
2222
"FILTER_LIST": "lsst/total_u.pb,lsst/total_g.pb,lsst/total_r.pb,lsst/total_i.pb,lsst/total_z.pb,lsst/total_y.pb",
2323
"GAL_LIB": "LSST_GAL_BIN",
2424
"GAL_LIB_IN": "LSST_GAL_BIN",
2525
"GAL_LIB_OUT": "LSST_GAL_MAG",
26-
"GLB_CONTEXT": "63",
26+
"GLB_CONTEXT": "0",
2727
"INP_TYPE": "M",
28-
"MABS_CONTEXT": "63",
28+
"MABS_CONTEXT": "0",
2929
"MABS_REF": "1",
3030
"QSO_LIB": "LSST_QSO_BIN",
3131
"QSO_LIB_IN": "LSST_QSO_BIN",
@@ -108,7 +108,6 @@ class LephareInformer(CatInformer):
108108

109109
def __init__(self, args, **kwargs):
110110
"""Init function, init config stuff (COPIED from rail_bpz)"""
111-
112111
super().__init__(args, **kwargs)
113112

114113
def validate(self):

0 commit comments

Comments
 (0)