gstlal-inspiral
1.9.2
Main Page
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
bin
gstlal_inspiral_add_p_of_ifos_given_horizon
1
#!/usr/bin/env python3
2
#
3
# Copyright (C) 2019 Leo Tsukada
4
#
5
# This program is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License as published by the
7
# Free Software Foundation; either version 2 of the License, or (at your
8
# option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful, but
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13
# Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License along
16
# with this program; if not, write to the Free Software Foundation, Inc.,
17
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
19
import
sys
20
from gstlal.stats
import
inspiral_extrinsics
21
22
# Read in and combine all of the input files
23
instruments =
""
.join(sorted(sys.argv[1].split(
","
)))
24
files = sys.argv[2:]
25
PofI = inspiral_extrinsics.p_of_instruments_given_horizons.from_hdf5(files[0], files[1:])
26
27
PofI.to_hdf5(
"%s_p_of_instruments_given_H_d.h5"
% instruments)
Generated on Mon Jan 24 2022 15:58:58 for gstlal-inspiral by
1.8.5