Skip to main content

No project description provided

Project description

PyPixie16

Docs PyPI version pre-commit Code style: black

This module can be used to control, read, and analyze data from Pixie16 modules from XIA [https://www.xia.com/DGF_Pixie-16.html] using python. To achieve this we provide cytpes interface to the C-libraries provided by XIA. These libraries need to be downloaded and installed from XIA-website for these python modules to run.

We use a config.ini file to let the python file know where those libraries can be found. If this file doesn't exist, the program will prompt you with instructions on how to create one.

Licence and Copyright

See Licence.txt and Copyright.txt for more information.

Installation

You can install the package using

pip install pypixie16

or after you cloned the repository and are inside the repo,

pip install .

or

pip install -e .

If you want to run tests, you should specify

pip install .[test]

If you want to build the documentation

pip install .[docs]

If you want to speed up binary parsing, you should install the cbitstruct library or use

pip install .[fast]

Documentation

Documentation is hosted on Read The Docs: https://readthedocs.org/projects/pypixie16/

Known issues

We use revision F of the 500 MHz Pixie16 and the code has only been tested for this module. It probably can be easily adapted for other modules or even might work, but there is no garantee.

We also always use certain settings for some parameters and these might also influence some of the analysis code (e.g. FastFilterRange).

Tests

We should have a lot more of them ;)

Use

python -m pytest

to run tests.

Contribution

Pull requests are welcome.

We use black to format the code. Once you cloned the repo, please run

pip install pre-commit

and

pre-commit install

Other libraries to control the pixie16 (non-python)

Experimental Low Energy Nuclear Science Group at University of Tennessee

https://github.com/pixie16

Fork of pixie16

https://github.com/spaulaus/paass-lc

Peking University

https://github.com/pkuNucExp/PKUXIADAQ

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

pypixie16-3.0.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

pypixie16-3.0.0-py3-none-any.whl (86.3 kB view details)

Uploaded Python 3

File details

Details for the file pypixie16-3.0.0.tar.gz.

File metadata

  • Download URL: pypixie16-3.0.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for pypixie16-3.0.0.tar.gz
Algorithm Hash digest
SHA256 422e2f249b714d755444bea9041c8200d721a3790fe8c916c18b631d1841ce54
MD5 512624670d34de851e12d224c30cc1d3
BLAKE2b-256 d0152f2a2bcc87cf85451bf6cf9a9632165ab338cfad8618b4f1f1e2f6774a18

See more details on using hashes here.

File details

Details for the file pypixie16-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: pypixie16-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 86.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for pypixie16-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39b55a9402cd110e1314b54a4e61c19e27274465cf3fdaaffe968e661ec6e6f3
MD5 960526f0a6ffe14d879ea9ef94e67581
BLAKE2b-256 6b040c6f3feee3830e3905143d493b75c3c4e64cc2c41a2c8c166e432ccdcd9c

See more details on using hashes here.

Supported by

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