Skip to content

Commit

Permalink
Merge 4c7cde1 into ee0cbc1
Browse files Browse the repository at this point in the history
  • Loading branch information
iprafols committed Feb 19, 2024
2 parents ee0cbc1 + 4c7cde1 commit 9ecd4e4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion py/picca/delta_extraction/data_catalogues/desi_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,13 @@ def format_data(self,
"z": row['Z'],
}
args["log_lambda"] = np.log10(spec['WAVELENGTH'])

if "TILEID" in row:
args["tile"] = row['TILE']
if "PETAL_LOC" in row:
args["petal"] = row['PETAL_LOC']
if "NIGHT" in row:
args["night"] = row['NIGHT']

if self.analysis_type == "BAO 3D":
forest = DesiForest(**args)
elif self.analysis_type == "PK 1D":
Expand Down

0 comments on commit 9ecd4e4

Please sign in to comment.