A simple Python package for use by Belle II analysts to make various plots out of pandas dataframes and numpy arrays.
Project description
b2_plotter
Description
The b2_plotter
package consists of the class Plotter(), whereby several plots based on numpy arrays and pandas dataframes can be created easily.
Releases
Version 2.0.2
- Implement unit tests for constructor TypeError raises
Version 2.0.1
- Implement data plotting in plot()
- Implement unit tests for functions in non-interactive mode
Version 1.0.9
- Set myrange = () in plotFom to enable the dynamic range calculation from v.1.0.5 if the user does not provide a range.
Version 1.0.8
- Implement dynamic range calculation in plotStep
- Bugfix labels not showing up on plotFom for myrange = () (default)
- Bugfix get_sigeff (missing period)
Version 1.0.7
- Bugfix (remove () from numpy.size, as size is a property, not a method)
Version 1.0.6
- Remove deprecated var total_bkg from plotFom()
Version 1.0.5
- Create example files for interactive session
- Change massvar name to be consistent (massVar in get_purity but massvar in FOM, etc)
- Implement dynamic range calculation in plotFom
Version 1.0.4
- Bugfix main and implement a for loop to plot multiple variables
- Create usage details in README.md
Version 1.0.3
- Change readme such that recent versions are at the top
- Remove
plotBias
function, as it is very niche - Remove unused parameter
myrange
in get_sigeff and get_purity - Add main() function
- Add interactivity boolean in constructor call to decide whether or not to save plots to a .png or show them directly
Version 1.0.2
- Edit README.md
- Remove tests/ directory (unit tests are not particularly useful for this package)
- Rename directories so imports are more intuitive
Version 1.0.1
- Add unit tests
- Switch backend to hatchling
- Move metadeta to pyproject.toml and clean it up
- Remove brackets from LICENSE.txt
- Create tests/ directory
Version 1.0.0
Initial launch.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
b2_plotter-2.0.2.tar.gz
(137.9 kB
view details)
Built Distribution
b2_plotter-2.0.2-py3-none-any.whl
(135.6 kB
view details)
File details
Details for the file b2_plotter-2.0.2.tar.gz
.
File metadata
- Download URL: b2_plotter-2.0.2.tar.gz
- Upload date:
- Size: 137.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f974b8d12185d851c6dc87ad167693c8d5613f2959e55c4e07cb68134172da25 |
|
MD5 | 9fd9e46a8f1ea068d7508267e255673e |
|
BLAKE2b-256 | 4f355126dc82f174d1aaa60d3f47766664f82173c0ae85b84bbc0c751ba9b0b7 |
File details
Details for the file b2_plotter-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: b2_plotter-2.0.2-py3-none-any.whl
- Upload date:
- Size: 135.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e49eacaefd3ad82572fcd10c1016fac76f77df91837a2ff8d32707603e8e5177 |
|
MD5 | 721c9f590dab324331eef0a9c2feb1ea |
|
BLAKE2b-256 | 70c8160af7c82f58655877c68d5851ca6e9004d5de41dfa545f678cec67ec3f3 |