pygama
pygama copied to clipboard
Python package for data processing and analysis
The function `get_dpz_decay_constants` works to get the constants needed for the double pole zero filter in three steps: 1. A guess for the long and short time constants are obtained...
Meaning that the hit tables for each channel would sit in a `lgdo.Struct`, instead of sitting in a bare HDF5 group. This would be useful to allow users to read...
Pygama now has a DataLoader that has been extremely helpful in accessing data across multiple runs and different tiers. As this tool has gotten more users, people have also had...
seems to give a decent speedup in testing, definitely more optimisation possible as well with using Lazy dataframes. have left the cut query as pandas as this needs a parser...
At the analysis workshop, it was argued that the slowness of the DataLoader was only due to the IO speed. When I loaded the data with "low-level routines", I never...
Example: `is_valid_0vbb` is available in tier `hit` for the `geds` subsystem only. If loading data from `spms` and `geds` at the same time, `is_valid_0vbb` will randomly provide `True` or `False`...
`FileDB.to_disk()` currently stores data through Pandas' HDF5 format. This prevents other non-Python software (e.g. Julia) from parsing it out of the box.
I'm posting a to-do list here. I'll keep it up-to-date. Good reference: https://scikit-hep.org/developer - [x] Regenerate API documentation automatically at build time - [x] Fix all warning/errors reported by Sphinx...
Unit testing
Here's a to-do list, I'll kep it up-to-date. Good reference: https://scikit-hep.org/developer. Most of this will be implemented on the `refactor` branch only. - [ ] Add micro-tests for each module/function...
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0) - [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.1) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0) - [github.com/codespell-project/codespell: v2.2.6 →...