bilby_pipe_xml_converter

This a command line tool to convert LIGO LW XML injection files to a format expected by bilby_pipe.

This requires an additional dependency to read the XML format that is provided by python-ligo-lw for gwpy<3.1 and igwn-ligolw for gwpy>=3.1.

usage: bilby_pipe_xml_converter [-h] [--format {json,dat}]
                                --reference-frequency REFERENCE_FREQUENCY
                                [--convert-negative-ra]
                                xml_file

Positional Arguments

xml_file

The xml file to convert

Named Arguments

--format

Possible choices: json, dat

The output injection format to use

Default: 'json'

--reference-frequency

The reference frequency to use for converting from xml

--convert-negative-ra

Convert (-pi,pi) RA range from (0,2pi)

Default: False