gwdetchar.cli module

Command-line interface utilities for gwdetchar

gwdetchar.cli.add_frametype_option(parser, **kwargs)[source]

Add a -f/--frametype option to this given parser

gwdetchar.cli.add_gps_start_stop_arguments(parser, type=<function to_gps at 0x7f7508139510>, **kwargs)[source]

Add gpsstart and gpsend arguments to the given parser

gwdetchar.cli.add_gps_start_stop_options(parser, type=<function to_gps at 0x7f7508139510>, **kwargs)[source]

Add -s/--gps-start-time and -e/--gps-end-time arguments

gwdetchar.cli.add_ifo_option(parser, ifo=None, required=None)[source]

Add a -i/--ifo option to the given parser

gwdetchar.cli.add_nproc_option(parser, default=8, type=<class 'int'>, help='the number of processes to use when reading data, default: %(default)s', **kwargs)[source]
gwdetchar.cli.add_version_option(parser, version=None)[source]
gwdetchar.cli.create_parser(**kwargs)[source]

Create a new argparse.ArgumentParser

gwdetchar.cli.logger(name='gwdetchar.cli', level='DEBUG')[source]

Construct a logger utility for stdout/stderr messages