Create an inspiral injection xml to use for lalinference_mcmc. More...
Go to the source code of this file.
Data Types | |
module | data |
Share stream data content. More... | |
module | routines |
Functions/Subroutines | |
program | gw_ligo_mcmc_injection |
Create an inspiral injection xml to use for lalinference_mcmc. More... | |
subroutine | write_xml_content_stream (op) |
Write the injection content stream to the xml file. More... | |
subroutine | set_default_injection_values () |
Set the default values for the inspiral injection xml stream data. More... | |
subroutine | read_injection_values (ipfile) |
Set the default values for the inspiral injection xml stream data. More... | |
subroutine | m1m2_mceta (m1, m2, mc, eta) |
Compute chirp mass and symmetric mass ration from individual masses. More... | |
subroutine | write_xml_header (op) |
Write the XML header to the injection file. More... | |
subroutine | write_xml_footer (op) |
Write the XML footer to the injection file. More... | |
Create an inspiral injection xml to use for lalinference_mcmc.
Definition in file gw_ligo_mcmc_injection.f90.
program gw_ligo_mcmc_injection | ( | ) |
Create an inspiral injection xml to use for lalinference_mcmc.
Definition at line 134 of file gw_ligo_mcmc_injection.f90.
References read_injection_values(), set_default_injection_values(), write_xml_content_stream(), write_xml_footer(), and write_xml_header().
subroutine write_xml_content_stream | ( | integer, intent(in) | op | ) |
Write the injection content stream to the xml file.
op | Output unit |
Definition at line 178 of file gw_ligo_mcmc_injection.f90.
References m1m2_mceta(), routines::write_floats(), routines::write_ints(), and routines::write_string().
Referenced by gw_ligo_mcmc_injection().
subroutine set_default_injection_values | ( | ) |
Set the default values for the inspiral injection xml stream data.
Definition at line 237 of file gw_ligo_mcmc_injection.f90.
Referenced by gw_ligo_mcmc_injection().
subroutine read_injection_values | ( | character, dimension(*), intent(in) | ipfile | ) |
Set the default values for the inspiral injection xml stream data.
ipfile | Name of the input file |
Definition at line 334 of file gw_ligo_mcmc_injection.f90.
Referenced by gw_ligo_mcmc_injection().
subroutine m1m2_mceta | ( | real(double), intent(in) | m1, |
real(double), intent(in) | m2, | ||
real(double), intent(out) | mc, | ||
real(double), intent(out) | eta | ||
) |
Compute chirp mass and symmetric mass ration from individual masses.
m1 | Individual mass 1 |
m2 | Individual mass 2 |
mc | Chirp mass |
eta | Symmetric mass ratio |
Definition at line 381 of file gw_ligo_mcmc_injection.f90.
Referenced by write_xml_content_stream().
subroutine write_xml_header | ( | integer, intent(in) | op | ) |
Write the XML header to the injection file.
op | Output unit |
Definition at line 402 of file gw_ligo_mcmc_injection.f90.
Referenced by gw_ligo_mcmc_injection().
subroutine write_xml_footer | ( | integer, intent(in) | op | ) |
Write the XML footer to the injection file.
op | Output unit |
Definition at line 483 of file gw_ligo_mcmc_injection.f90.
Referenced by gw_ligo_mcmc_injection().