Skip to content
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

Provide an interface to abstract different methods in OpSimSummary to get ObsHistIDs for a tileID #41

Closed
rbiswas4 opened this issue Jul 21, 2016 · 2 comments

Comments

@rbiswas4
Copy link
Member

rbiswas4 commented Jul 21, 2016

Currently there are two ways envisaged for obtaining the ObsHistID values for a tile ID.

  1. using a computation from a dataframe representing the opsim output which is implemented in opsimsummary.HealpixelizedOpSim.obsHistIDForTile() and requires the opsim output as a dataframe as input.
  2. Precomputed results of 1. stored in a database.

The idea is that there should be a common way of reading both of these and providing obsHistID for a tileID for both of these methods. Create a class MapTile2Pointing in healpix.py to do this.

@rbiswas4
Copy link
Member Author

This will go to SNsims directly.

@rbiswas4
Copy link
Member Author

rbiswas4 commented Aug 1, 2016

Implemented in SNsims rather than here, and is closed through rbiswas4/SNsims#10

@rbiswas4 rbiswas4 closed this as completed Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant