msimet / Stile

Stile: the Systematics Tests In Lensing pipeline
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

Add parameters to config in HSC module #31

Open msimet opened 10 years ago

msimet commented 10 years ago

Related to a bug @HironaoMiyatake found with our PSF flags w/r/t some changes in the HSC pipeline, I thought I'd open this issue for moving some more parameters to config objects for the HSC/LSST module. The particular problem was caused by some hard-coded PSF flags:

extra_mask = numpy.array([src.get('flux.psf.flags')==0 for src in data])

which also checked another flag originally; the second flag was removed with some pipeline updates, so running this code failed on the new rerun.

This one's easy enough to move to the config object, but as long as we're doing it, I thought we should check if there's anything else hard-coded that folks would like to have configurable instead.

This isn't high-priority, so feel free to add things as they occur to you...

msimet commented 10 years ago

(formatting updated on GitHub)