spacetelescope / wfc3_dash

Tools for reducing HST/WFC3 DASH observations.
1 stars 5 forks source link

Make some reference files non-static? #8

Closed mgennaro closed 6 years ago

mgennaro commented 6 years ago

FLAT_F160W and BP_MASK are hard-coded. Could be set to what is used to reduce the current flts

mgennaro commented 6 years ago

I mean, which could be itself be read from the header

mgennaro commented 6 years ago

The BP_mask is in fact not used in the reduce_dash class. The flat field file name is now read from the header and downloaded from crds in the get_flat function within utils.py