From 69614141c3a2304782ee6adbb0c4047d0d896f4d Mon Sep 17 00:00:00 2001
From: Francisco Javier Hernandez
 <francisco.hernandez@ldas-pcdev2.ligo.caltech.edu>
Date: Mon, 18 Feb 2019 19:06:04 -0800
Subject: [PATCH] added bns example

---
 example_ini_files/bns_injection.ini | 17 +++++++++++++++++
 example_ini_files/bns_reduced.prior | 13 +++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 example_ini_files/bns_injection.ini
 create mode 100644 example_ini_files/bns_reduced.prior

diff --git a/example_ini_files/bns_injection.ini b/example_ini_files/bns_injection.ini
new file mode 100644
index 00000000..6c25c025
--- /dev/null
+++ b/example_ini_files/bns_injection.ini
@@ -0,0 +1,17 @@
+label = bns_simulations
+detectors = [H1, L1]
+duration = 8
+outdir=injection_test
+sampler = dynesty
+sampler-kwargs = {'nlive': 500}
+prior-file = bns_reduced.prior
+trigger-time = 0
+minimum-frequency = 80
+reference-frequency = 100
+waveform-approximant = IMRPhenomD_NRTidal
+frequency-domain-source-model = lal_binary_neutron_star
+time_marginalization = True
+injection = True
+n-injection = 3
+
+accounting = ligo.dev.o3.cbc.pe.lalinference
diff --git a/example_ini_files/bns_reduced.prior b/example_ini_files/bns_reduced.prior
new file mode 100644
index 00000000..6813e1b9
--- /dev/null
+++ b/example_ini_files/bns_reduced.prior
@@ -0,0 +1,13 @@
+mass_1 = 2
+mass_2 = 2
+a_1 = 0
+a_2 = 0
+lambda_1 = 0
+lambda_2 = 0
+luminosity_distance =  bilby.gw.prior.UniformComovingVolume(name='luminosity_distance', minimum=40, maximum=200, unit='Mpc')
+dec = -0.2
+ra = 1.4
+iota = Sine(name='iota')
+psi = 0
+phase = 0
+geocent_time = 0
-- 
GitLab