diff --git a/gstlal-inspiral/bin/gstlal_inspiral_create_prior_diststats b/gstlal-inspiral/bin/gstlal_inspiral_create_prior_diststats index d93d0093a7e7f16e46825fc8bd677296acc4cc68..64b52b89509265cb192ea49ddc70ca36e221a2e5 100755 --- a/gstlal-inspiral/bin/gstlal_inspiral_create_prior_diststats +++ b/gstlal-inspiral/bin/gstlal_inspiral_create_prior_diststats @@ -113,7 +113,7 @@ seglists = segments.segmentlistdict.fromkeys(options.instrument, segments.segmen if options.background_prior != 0: coincparamsdistributions.add_background_prior(n = options.background_prior, instruments = options.instrument, verbose = options.verbose) -coincparamsdistributions.add_foreground_prior(n = options.synthesize_injection_count, segs = seglists, verbose = options.verbose) +coincparamsdistributions.add_foreground_snrchi_prior(coincparamsdistributions.injection_rates, instruments = set(seglists), n = options.synthesize_injection_count, prefactors_range = (0.0, 0.10), df = 40, verbose = options.verbose) #