A package for reading CoMPASS directories into Python
Project description
Compy: The CoMPASS Python Companion
Introduction
Compy is a Python package for easily accessing and analyzing data acquired using CAEN Multi-PArameter Spectroscopy Software (CoMPASS). Compy takes as input the CoMPASS directories where experimental data is stored and processes the settings, spectra, and data files, storing them in a CompassRun object. Compy currently can only process data saved as either .csv or .bin files. Compy enables user filtering of data by energy and/or PSD cut and easy plotting of un/filtered energy/TOF/PSD spectra.
Scripts
Included with the compy package are several scripts for commonly desired processes, such as plotting CoMPASS spectra, manually calculating TOF from signal and reference channels, and enabling user cuts.
compy-run
The compy-run script provides a quick way of reading in CoMPASS data, merging related runs, plotting spectra, and saving the CoMPASS data to a pickle file for easy access later in Python.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file compy-1.0.4.tar.gz
.
File metadata
- Download URL: compy-1.0.4.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d2fbdf07f1c05110411e0567ca630b7d6bac1a6e4657e02834319bfc9be06f0 |
|
MD5 | 209255d058dcda3484928b8df379a565 |
|
BLAKE2b-256 | e49ccc76e1c9d5617decd96f9d4bde74a4044ecc4657e96202f664a15aa5411c |
File details
Details for the file compy-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: compy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5899f39466b85bb6349510741cf6bb72b9b505124c36dc664434d452cd7332c |
|
MD5 | 534735e6aa34d018d9679ae75885800e |
|
BLAKE2b-256 | e1fdffa419a2c9644f301542a0d1739e689247743708a4a31bf1f7d6c51a32cb |