Closed bfhealy closed 1 year ago
@weizmannk can you clarify?
@bfhealy For NSBH, were you using the Bu2019nsbh prior?
@mcoughlin Yes, that was the prior I was using for the NSBH injection.
@bfhealy Have the recent changes resolved this?
@mcoughlin Yes, I can now run light_curve_generation
successfully using this tutorial. I do have to modify the filter names from what's specified in the tutorial (e.g. instead of J,H,K
I need to use 2massj,2massh,2massks
).
@bfhealy can you submit a quick PR to the docs and then close this?
@mcoughlin Will do!
There appears to be a relatively recent tutorial page on simulating ZTF/LSST KNe detections that is excluded from the documentation (https://github.com/nuclear-multimessenger-astronomy/nmma/blob/722b02d10d95bf409da0aee1b01f4add4f32f7e1/doc/gwemopt_light_curves_detection.md) When I run this tutorial, I get stuck on step 5 running BNS light curve generation:
To avoid an error I slightly modify the call to
nmma_create_injection
such that the argument--injection-file
path is./example_files/sim_events/injections.dat
(instead of just./injections.dat
):I also modify the call to
light_curve_generation
such that the--injection
argument file isBu2019lm_injection.json
(instead ofinjection_Bu2019lm.json
):Then I get the following error:
I make similar modifications to the NSBH light curve process, and it fails with a different error: