Skip to main content

List mode native data engine.

Project description

Limonade

Limonade is a library meant to simplify handling of list mode data from different sources. To make this possible a framework of data storage is defined. All details of the data are defined by configuration of the detector and the plot using configuration files written in json.

Once in Limonade format, the data can be retrieved and histogrammed using powerful selection tools in the plot module. With Limonade you can

  • Select events by time interval
  • Define extra data, such as coordinates or boolean flags
  • Define gates for any data for any channel and define (anti)coincidence logic for them.
  • Chain-load multiple data files
  • Create 1d- and 2d-histograms of any data.

Installation

Install with

    pip install limonade

preferably using virtual environment or --user flag to prevent any clashes with permissions.

After installation one needs to set the configuration and data directories using commands

    set-limonade-config path/to/config-dir
    set-limonade-data path/data/dir

Now you need to make a detector. Next command creates a basic detector configuration with a dummy calibration and basic plots for each channel. The automatically generated configuration is very basic. You may want to modify it manually later.

    add-limonade-detector detname 2 g4

where 2 is the number of channels and standard is a type of data (name of loader) defined in limonade.loaders.loader_dict.

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-0.9.0.tar.gz (87.0 kB view details)

Uploaded Source

Built Distribution

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

limonade-0.9.0-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

Details for the file limonade-0.9.0.tar.gz.

File metadata

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

File hashes

Hashes for limonade-0.9.0.tar.gz
Algorithm Hash digest
SHA256 491698913f340c37dd5172a2153cc0a43204d0896471dcfa4f7502e459de14ff
MD5 6681c111ce2897300d62c722cd93edea
BLAKE2b-256 9f24021ec69443dbd6b10e483b1872d0aa14bf3c5e8c7b26b48740df709183ff

See more details on using hashes here.

File details

Details for the file limonade-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: limonade-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 85.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for limonade-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcf109b674993956a325c3395f41ef3bda62f7d723513c8ff6da443de540c5be
MD5 c0d05ce20066af173e96f613bc21e86e
BLAKE2b-256 943b4edf5f57a900ff7c823640eec87defaef3e7f24472e28cfe56fb0d53b97f

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