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 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-1.0.9.tar.gz
(13.2 kB
view details)
Built Distribution
File details
Details for the file b2_plotter-1.0.9.tar.gz
.
File metadata
- Download URL: b2_plotter-1.0.9.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5300391e98acc0c99398b8d2b5af50c5ba9c8498705070fb9fa23143d1001e2 |
|
MD5 | 4cec2cacad6f704c87884c312b199303 |
|
BLAKE2b-256 | b67a8773790d33d41824298b46247e519e2b1854b923ef5b1793bdbaaebb8208 |
File details
Details for the file b2_plotter-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: b2_plotter-1.0.9-py3-none-any.whl
- Upload date:
- Size: 12.1 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 | e15e73cb062e04aabbec385d142c1040f4d09025d05dfaca6e797db8078de22c |
|
MD5 | 4cd25714c6c4c28e1d0de5054e0dd112 |
|
BLAKE2b-256 | 6084259f3b55d2863723c38d6ff790d12e2f41dfd926ed38bc4a89de85c43364 |