-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates to faciliate the mocks run on pixel-level imaging data. #611
Conversation
…create a file extension
… list the expected input files
@michaelJwilson: I think this is the remaining functionality you need for #608. One subtlety is that, depending on how you're setting up your Legacy Surveys directory environment variable, you may want to pass that directory through
will return a "non" north/south split set of files, but:
will return a north/south split set of files. |
Looks perfect, thanks.
|
I'll give this a few hours and then merge so @michaelJwilson can continue working on his branch. |
And, for the record, I disagree with the "results could be argued to be entirely spurious". As written, if I suppose, ideally, the Legacy Surveys could always supply an As Mike noted, there's arguments either way! |
FWIW, looks good to me. |
This PR updates general utilities and the code that generates randoms for "real" data to help the mocks interface with the pixel-level Legacy Surveys coadd images. It includes:
geomask.get_brick_info()
that looks up the brick names associated with HEALPixels at a givennside
.randoms.quantities_at_positions_in_a_brick()
to add ajustlist
option to list the required input files for that function. Note that passingjustlist
returns the maximal possible set of files needed to runquantities_at_positions_in_a_brick()
, which can, in fact, run with few (or zero!) imaging files for any particular brick.