Skip to main content

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

limonade_plot_utils-0.8.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file limonade-plot-utils-0.8.1.tar.gz.

File metadata

  • Download URL: limonade-plot-utils-0.8.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for limonade-plot-utils-0.8.1.tar.gz
Algorithm Hash digest
SHA256 3328b9ac81cb7cbcd0b7f280add5e7d42ffb7984b1dca9e324d15b27d8f53d8e
MD5 222411c303777d3f65369d8ae2df38ac
BLAKE2b-256 ec8c46c246e233cd4bd45b5ee54012c53b3741d9c9699120b3eaec79e77d946e

See more details on using hashes here.

File details

Details for the file limonade_plot_utils-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for limonade_plot_utils-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 083dc94c984efa97834c5f05f8cd5cdedb6ff4e74da8b9d667cd7fb26f9c1bdb
MD5 e9d785a8d75175ff628a408dbea8a45a
BLAKE2b-256 83655bc09411cfbe5549c933b7040dd64d05b77ed65edadaaacdc5c6d24684d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page