Skip to content

Commit 3976db5

Browse files
authored
Merge pull request #1140 from igmhub/dr3_blinding
blind DR3 data with new blinding strategy
2 parents 3cf9c2e + d74c6ca commit 3976db5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

py/picca/delta_extraction/data_catalogues/desi_data.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,11 @@ def set_blinding(self, is_mock):
250250
self.blinding = "desi_m2"
251251
elif all(self.catalogue["LASTNIGHT"] < 20220801):
252252
self.blinding = "desi_y1"
253-
else:
253+
elif all(self.catalogue["LASTNIGHT"] < 20240410):
254254
self.blinding = "desi_y3"
255+
else:
256+
self.blinding = "desi_dr3"
257+
self.logger.progress(f"Will use blinding strategy {self.blinding}")
255258

256259
if self.blinding not in ACCEPTED_BLINDING_STRATEGIES:
257260
raise DataError(

py/picca/delta_extraction/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
}
8888

8989
ACCEPTED_BLINDING_STRATEGIES = [
90-
"none", "desi_m2", "desi_y1", "desi_y3"]
90+
"none", "desi_m2", "desi_y1", "desi_y3", "desi_dr3"]
9191

9292
def class_from_string(class_name, module_name):
9393
"""Return a class from a string. The class must be saved in a module

0 commit comments

Comments
 (0)