Skip to content

Commit

Permalink
ENH move to latest mask
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Mar 21, 2024
1 parent 97b464d commit 0b891b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions des_y6utils/mdet.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _make_mdet_cuts_gauss(
min_t_ratio=0.5,
max_mfrac=0.1,
max_s2n=np.inf,
mask_name="y6-combined-hleda-gaiafull-des-stars-hsmap131k-mdet-v1.hsp",
mask_name="y6-combined-hleda-gaiafull-des-stars-hsmap131k-mdet-v2.hsp",
max_t=100.0,
):
"""
Expand Down Expand Up @@ -336,7 +336,7 @@ def _make_mdet_cuts_v6(d, verbose=False):

# apply the mask
hmap = _read_hsp_file(
"y6-combined-hleda-gaiafull-des-stars-hsmap131k-mdet-v1.hsp"
"y6-combined-hleda-gaiafull-des-stars-hsmap131k-mdet-v2.hsp"
)
in_footprint = hmap.get_values_pos(d["ra"], d["dec"], valid_mask=True)
msk &= in_footprint
Expand Down

0 comments on commit 0b891b1

Please sign in to comment.