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.1.tar.gz (87.7 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.1-py3-none-any.whl (86.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: limonade-0.9.1.tar.gz
  • Upload date:
  • Size: 87.7 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.1.tar.gz
Algorithm Hash digest
SHA256 5709228dd9b7277eb0882d19a9569bd8fbe20d285b63893b22d23c41b9b68163
MD5 d8a8c4e5707716191c85998915441c16
BLAKE2b-256 5be0480034fc74f8602bb528f007d0f1ea368747ad921cd2829fdceba01f6ce1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: limonade-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 86.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 983e7c13f9393487e45576e2eeb965d1660b5138b04ad79ce1ba8fee35136539
MD5 408f6cc208efdd11208ed1b05eecea7a
BLAKE2b-256 d08ca1859dadff57f2251cc7bae246bfd4ef10e639459d79746df5f573f910ee

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