MickaelRigault / skysurvey

Simulate transients within the sky
Apache License 2.0
9 stars 7 forks source link

skysurvey.DataSet.from_targets_and_survey crashes when getting SNe at high redshift #32

Open mginolin opened 3 months ago

mginolin commented 3 months ago

When using SNe at high redshift, the bandpasses of the filters used in the survey objects are at wavelength where the SN sncosmo model is not defined anymore. This makes sncosmo.realize_lcs crash with the following error: bandpass 'megacampsf::g' [3990, .., 5800] outside spectral range [3997.1, .., 18386.7].