Utilities and plot scripts for Limonade.
Project description
Limonade-plot-utils
Limonade is a library meant to simplify handling of list mode data from different sources. The scripts provided in limonade-plot-utils are example scripts on how to plot and sort list-mode data with limonade and matplotlib.
Included are:
- read_list_data: Load and plot list mode data using specific plot configuration.
- By default the data is loaded with the setup frozen in the data directory, but different detector configuration can be given.
- Only part of the data can be plotted by using time-slices.
- Histograms can be exported to comma separated ASCII-files.
- Histograms can be exported to .phd files with command line inputs for efficiency calibration files and data collection information.
- read_hist_data: Load and plot comma separated ASCII-files saved with read_list_data. The metadata contains all the necessary information.
- create-plots: Create simple plot configurations for a given detector.
- fix-data: Experimental. Truncate data to smallest data file length. Used to recover data after daq crash.
Installation
Install with
pip install limonade-plot-utils
preferably using virtual environment or --user flag to prevent any clashes with permissions.
After installation one can make basic plots for a given limonade detector with command
create-plots det_name
Plot files are then automatically created in limonade config dir.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
limonade-plot-utils-0.8.1.tar.gz
(11.5 kB
view hashes)
Built Distribution
Close
Hashes for limonade-plot-utils-0.8.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3328b9ac81cb7cbcd0b7f280add5e7d42ffb7984b1dca9e324d15b27d8f53d8e |
|
MD5 | 222411c303777d3f65369d8ae2df38ac |
|
BLAKE2b-256 | ec8c46c246e233cd4bd45b5ee54012c53b3741d9c9699120b3eaec79e77d946e |
Close
Hashes for limonade_plot_utils-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 083dc94c984efa97834c5f05f8cd5cdedb6ff4e74da8b9d667cd7fb26f9c1bdb |
|
MD5 | e9d785a8d75175ff628a408dbea8a45a |
|
BLAKE2b-256 | 83655bc09411cfbe5549c933b7040dd64d05b77ed65edadaaacdc5c6d24684d9 |