pygama package#

Pygama: decoding and processing digitizer data. Check out the online documentation

Subpackages#

Submodules#

pygama.cli module#

pygama’s command line interface utilities.

pygama.cli.add_build_dsp_parser(subparsers)#

Configure dsp.build_dsp.build_dsp() command line interface

pygama.cli.add_build_hit_parser(subparsers)#

Configure hit.build_hit.build_hit() command line interface

pygama.cli.add_build_raw_parser(subparsers)#

Configure raw.build_raw.build_raw() command line interface

pygama.cli.add_lh5ls_parser(subparsers)#

Configure lgdo.lh5_store.show() command line interface.

pygama.cli.build_dsp_cli(args)#

Passes command line arguments to dsp.build_dsp.build_dsp().

pygama.cli.build_hit_cli(args)#

Passes command line arguments to hit.build_hit.build_hit().

pygama.cli.build_raw_cli(args)#

Passes command line arguments to raw.build_raw.build_raw().

pygama.cli.lh5_show_cli(args)#

Passes command line arguments to lgdo.lh5_store.show().

pygama.cli.pygama_cli()#

pygama’s command line interface.

Defines the command line interface (CLI) of the package, which exposes some of the most used functions to the console. This function is added to the entry_points.console_scripts list and defines the pygama executable (see setuptools’ documentation). To learn more about the CLI, have a look at the help section:

$ pygama --help
$ pygama build-raw --help  # help section for a specific sub-command

pygama.logging module#

This module implements some helpers for setting up logging.

pygama.logging.setup(level: int = 20, logger: Optional[Logger] = None) None#

Setup a colorful logging output.

If logger is None, sets up only the pygama logger.

Parameters: