Hi all,
We are developing a LSST-strong lensing simulation pipeline. It involves simulation of strong lenses and injection of those lenses to dp0 cutout images. For, this one needs to add poisson noise to simulated lenses based on exposure time of coadd/calexp images. Does dp0.2 coadd images have exposure time? If yes, how to get them?
The DESC DC2 paper also says “Specifically for the DC2 runs, we use the cadence output minion_1016 , which contains a realization of five DDFs as well as the nominal WFD area, and uses single 30 sec exposures” which to my reading suggests that all DP0.2 exposures have 30 second integration times, though I haven’t checked this exhaustively in the released products. Additionally, DP0.2 tutorial notebook 9a shows how to get the list of input visits for a deepCoadd. Thanks very much…
Just to round out my previous response, one can retrieve a detailed map of the number of contributing exposures per location within a given deepCoadd as follows:
It’s preferable if you don’t go digging into the raw headers for information like this. We have infrastructure in place to parse headers from different instruments and convert them to standard form. Rather than using raw.metadata you should be using raw.visitInfo. The visitInfo component should be attached to exposures so you should be able to ask for it from the coadd.
The visitInfo component should be attached to exposures so you should be able to ask for it from the coadd.
The visitInfo for coadds are typically empty or None since it’s not possible to summarize it for the entire coadd. There will be a summary table associated when we switch to cell-based coadds, but for now looking at the deepCoadd_nImage as Aaron mentioned is the way to go about it.