-
Notifications
You must be signed in to change notification settings - Fork 36
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
Using opsim cadence #29
Comments
If you go with 1. I think the kind of example that would be of help (updated to the latest cadence) is https://github.com/LSSTDESC/OpSimSummary/blob/Issue%23325/proposalTables/example/Demo_SynOpSim.ipynb. Obviously it needs an update to work with current versions (which happens in the branch I mentioned). |
Thank you very much @rbiswas4 ! This is super helpful and we are going to look into it and reach out if/when we have questions. On your questions:
And in more general terms: we hope that the sim-pipeline will be able to simulate all sorts of lensed transients at the population level, and as such are mostly interested in how you want to use lensed SNe simulations (or other transients). The package is aimed to be modular and we are building different source and lens populations. I am linking here @nkhadka21 and this might come up soon once we are starting to build the simulations for transients. |
Thank you @sibirrer
So, if I understand what you are thinking about obtaining an observation sequence which is not taken from the OpSim database but has the same statistical properties as observations in the OpSim database. No, I don't have anything like that. Are you imagining this for speedup? If the rest of your simulation pipeline is fast enough that this is a bottleneck, Or are you thinking about this to create a very large number of 'independent' samples? In which case, you need something like a sampler ? |
@rbiswas4 thanks a lot! Ah, indeed so this would be a feature of simlib then. We are certainly planing for large 'independent' time series, but we might also be able to patch them together from a smaller set of discrete observations points to enhance them with enough 'independence'. For very large training sets/series, we might still want a on-the-fly generation but perhaps it's not needed. So we can keep these options in the books. |
This is in response to the question raised by @sibirrer as to whether cadences from OpSim can be obtained by OpSimSummary for use in the
sim-pipeline
software.So,
OpSimSummary
is a public software in DESC and therefore certainly available. It was originally written to enable supernova simulations based on LSST cadence.Its basic functionality (let us call this functionality 1) is to provide the set of opsim visits over the full LSST survey that would contain a particular point (e.g. a transient location), and then obtain the full set of metadata describing that visit.If finding these visits is performed by a simple distance check around the point, it requires going through ~ 2-2.5 million rows (roughly the number of visits in any opsim output) for each transient. This is made a little faster using trees.
For SNANA rwork, the list of visits and their metadata in a particular format is required for a discrete set of points in a file usually called simlib. This can be generated using the above functionality 1. Let us call simlib generation functionality 2.
Some of the recent changes:
I will also want to take a look at the gg-lensing branch you pointed to ... Thanks !
Questions I have about your use of Opsim:
For the strong lenging sim-pipeline case:
The text was updated successfully, but these errors were encountered: