pygama package#
Pygama: decoding and processing digitizer data. Check out the online documentation
Subpackages#
- pygama.dsp package
- Subpackages
- pygama.dsp.processors package
- Submodules
- pygama.dsp.processors.bl_subtract module
- pygama.dsp.processors.convolutions module
- pygama.dsp.processors.dwt module
- pygama.dsp.processors.fftw module
- pygama.dsp.processors.fixed_time_pickoff module
- pygama.dsp.processors.gaussian_filter1d module
- pygama.dsp.processors.get_multi_local_extrema module
- pygama.dsp.processors.histogram module
- pygama.dsp.processors.linear_slope_fit module
- pygama.dsp.processors.log_check module
- pygama.dsp.processors.min_max module
- pygama.dsp.processors.moving_windows module
- pygama.dsp.processors.multi_a_filter module
- pygama.dsp.processors.multi_t_filter module
- pygama.dsp.processors.optimize module
- pygama.dsp.processors.param_lookup module
- pygama.dsp.processors.peak_snr_threshold module
- pygama.dsp.processors.pole_zero module
- pygama.dsp.processors.presum module
- pygama.dsp.processors.pulse_injector module
- pygama.dsp.processors.saturation module
- pygama.dsp.processors.soft_pileup_corr module
- pygama.dsp.processors.time_over_threshold module
- pygama.dsp.processors.time_point_thresh module
- pygama.dsp.processors.trap_filters module
- pygama.dsp.processors.upsampler module
- pygama.dsp.processors.wiener_filter module
- pygama.dsp.processors.windower module
- pygama.dsp.processors package
- Submodules
- pygama.dsp.build_dsp module
- pygama.dsp.errors module
- pygama.dsp.processing_chain module
CoordinateGridIOManagerLGDOArrayIOManagerLGDOArrayOfEqualSizedArraysIOManagerLGDOWaveformIOManagerNumpyIOManagerProcChainVarProcessingChainProcessingChain._execute_procs()ProcessingChain._length()ProcessingChain._parse_expr()ProcessingChain._round()ProcessingChain._validate_name()ProcessingChain.add_processor()ProcessingChain.add_variable()ProcessingChain.execute()ProcessingChain.func_listProcessingChain.get_variable()ProcessingChain.link_input_buffer()ProcessingChain.link_output_buffer()ProcessingChain.module_list
ProcessorManagerUnitConversionManagerbuild_processing_chain()
- pygama.dsp.utils module
- Subpackages
- pygama.evt package
- pygama.flow package
- Submodules
- pygama.flow.data_loader module
DataLoaderDataLoader.browse()DataLoader.build_entry_list()DataLoader.build_hit_entries()DataLoader.get_file_list()DataLoader.get_table_name()DataLoader.get_tiers_for_col()DataLoader.load()DataLoader.load_cal_pars()DataLoader.load_detector()DataLoader.load_dsp_pars()DataLoader.load_evts()DataLoader.load_hits()DataLoader.load_settings()DataLoader.reset()DataLoader.set_config()DataLoader.set_cuts()DataLoader.set_datastreams()DataLoader.set_files()DataLoader.set_output()DataLoader.skim_waveforms()
iskeyword()
- pygama.flow.datagroup module
- pygama.flow.file_db module
- pygama.hit package
- pygama.lgdo package
- Submodules
- pygama.lgdo.array module
- pygama.lgdo.arrayofequalsizedarrays module
- pygama.lgdo.fixedsizearray module
- pygama.lgdo.lgdo_utils module
- pygama.lgdo.lh5_store module
- pygama.lgdo.scalar module
- pygama.lgdo.struct module
- pygama.lgdo.table module
- pygama.lgdo.vectorofvectors module
- pygama.lgdo.waveform_table module
- pygama.math package
- Subpackages
- pygama.math.functions package
- Submodules
- pygama.math.functions.crystal_ball module
- pygama.math.functions.error_function module
- pygama.math.functions.exgauss module
- pygama.math.functions.exponential module
- pygama.math.functions.gauss module
- pygama.math.functions.gauss_on_exgauss module
- pygama.math.functions.gauss_on_linear module
- pygama.math.functions.gauss_on_step module
- pygama.math.functions.gauss_on_uniform module
- pygama.math.functions.hpge_peak module
- pygama.math.functions.linear module
- pygama.math.functions.moyal module
- pygama.math.functions.poisson module
- pygama.math.functions.polynomial module
- pygama.math.functions.pygama_continuous module
- pygama.math.functions.step module
- pygama.math.functions.sum_dists module
- pygama.math.functions.triple_gauss_on_double_step module
- pygama.math.functions.uniform module
- pygama.math.functions package
- Submodules
- pygama.math.binned_fitting module
- pygama.math.distributions module
- pygama.math.histogram module
- pygama.math.hpge_peak_fitting module
- pygama.math.least_squares module
- pygama.math.unbinned_fitting module
- pygama.math.units module
- pygama.math.utils module
- Subpackages
- pygama.pargen package
- Submodules
- pygama.pargen.AoE_cal module
AoEcorrection()PDF_AoE()apply_dtcorr()cal_aoe()compton_sf()compton_sf_no_sweep()drift_time_correction()energy_guess()get_aoe_cut_fit()get_classifier()get_dt_guess()get_peak_label()get_sf()get_sf_no_sweep()get_survival_fraction()load_aoe()plot_compt_bands_overlayed()plot_dt_dep()pol1()sigma_fit()unbinned_aoe_fit()unbinned_energy_fit()
- pygama.pargen.cuts module
- pygama.pargen.data_cleaning module
- pygama.pargen.dsp_optimize module
- pygama.pargen.ecal_th module
- pygama.pargen.energy_cal module
calibrate_tl208()get_calibration_energies()get_hpge_E_bounds()get_hpge_E_fixed()get_hpge_E_peak_par_guess()get_i_local_extrema()get_i_local_maxima()get_i_local_minima()get_most_prominent_peaks()hpge_E_calibration()hpge_find_E_peaks()hpge_fit_E_cal_func()hpge_fit_E_peak_tops()hpge_fit_E_peaks()hpge_fit_E_scale()hpge_get_E_peaks()match_peaks()poly_match()
- pygama.pargen.energy_optimisation module
BayesianOptimizerBayesianOptimizer._acquisition_function()BayesianOptimizer._extend_prior_with_posterior_data()BayesianOptimizer._get_expected_improvement()BayesianOptimizer._get_lcb()BayesianOptimizer._get_next_probable_point()BayesianOptimizer._get_ucb()BayesianOptimizer.add_dimension()BayesianOptimizer.add_initial_values()BayesianOptimizer.eta_paramBayesianOptimizer.get_best_vals()BayesianOptimizer.get_first_point()BayesianOptimizer.get_n_dimensions()BayesianOptimizer.iterate_values()BayesianOptimizer.kernelBayesianOptimizer.lambda_paramBayesianOptimizer.update()BayesianOptimizer.update_db_dict()
OptimiserDimensionevent_selection()find_lowest_grid_point_save()fom_FWHM()fom_FWHM_fit()fom_FWHM_with_dt_corr_fit()fom_all_fit()fwhm_slope()get_best_vals()get_ctc_grid()get_filter_params()get_peak_fwhm_with_dt_corr()get_wf_indexes()index_data()interpolate_energy()interpolate_energy_old()interpolate_grid()new_fom()run_optimisation()run_optimisation_multiprocessed()set_par_space()set_values()simple_guess()single_peak_fom()unbinned_energy_fit()
- pygama.pargen.extract_tau module
- pygama.pargen.mse_psd module
- pygama.raw package
- pygama.vis package
- Submodules
- pygama.vis.waveform_browser module
WaveformBrowserWaveformBrowser._update_auto_limit()WaveformBrowser.clear_data()WaveformBrowser.draw_current()WaveformBrowser.draw_entry()WaveformBrowser.draw_next()WaveformBrowser.find_entry()WaveformBrowser.find_next()WaveformBrowser.new_figure()WaveformBrowser.reset()WaveformBrowser.save_figure()WaveformBrowser.set_figure()
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_scriptslist and defines thepygamaexecutable (seesetuptools’ 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.