Pending changes requested on previous PR, from_catalog fix for Ohio mocks #580
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull request addresses various of the requested changes that were pending in #578. Most of the comments were addressed except for one:
I tested doing this and the resulting catalogs are different than the obtained with the currently implemented method. For the sake of reproducibility of the KP6 mocks I will leave it as is. Changing to a random engine will be left for future implementations.
Some additional changes in this PR:
quickquasars
to assign the magnitudes and exposure times from the input catalog to the incorrect MOCKID. This happens if the sorting order of the MOCKIDs in the input catalog is different to the sorting order in the metadata of the raw transmission files. I checked that this does not affect neither the Y1 Saclay or LyaCoLoRe Mocks for two main reasons.gen_qso_catalog.py
script to generate an input catalog for Y5 mocks that will follow the redshift-magnitude distribution of the DESI-Y1 Lya Sample.