No project description provided
Project description
iMCAr: The interactive MCA recorder
This software provides a user-friendly application to use Multi-Channel Analyzers (MCA).
Contributing
If you e.g. develop your own drivers for iMCAr or extend the application in a different way, consider contributing the code back to this repository through a Pull Request! There is no guarantee that the changes are merged since they may go into a different direction than the original aim of the software, so before implementing a large change consider opening an issue suggesting that feature so it can be discussed beforehand.
SAFETY NOTE
This software is not developed for usage in medical or other high precision environments. It does implement data recovery after application crashes, however that may not be perfect.
If you can, please run this software through a terminal so you can report stack traces of crashes on GitHub if you encounter a crash.
Be careful!
Installation
For this software Python has to be installed and part of the PATH variable. The software is tested with Python 3.8.2. The Windows installer wizard asks at the beginning, if it should edit the PATH. Possibly at the end of the installation the adjustment of its length has to be accepted.
Many Linux distributions ship Python 3 as "python3" with "pip3" (opposed to "python" and "pip"). If that does not work, the commands have to be entered without the number 3.
After downloading the application, in the folder with this README.md file the following commands have to be executed:
pip3 install --upgrade setuptools
python3 setup.py install
You now can already start the software. To add your device to the software, open the documentation by either clicking the "➕" sign next to the device list.
Uninstallation
pip3 uninstall imcar
Start
After installation the program can be launched with the command
imcar
. To add a desktop shortcut, the location of the launcher can be found with where imcar (Windows) or whereis imcar (Linux/Unix). An icon is included in form of the file imcar/gui/icon.ico.
Warning: This only works if no virtual environment (e.g. via Anaconda) is used. For Anaconda3 under Windows, a solution would be to right click on the on the desktop shortcut, go to the 'Shortcut' tab and change "Start in" to C:\Users\<username>\Anaconda3\Library\bin or the equivalent path in your installation.
Troubleshooting
If the application does not launch, executing
sudo pip3 uninstall pyqt5-sip pyqt5 pyqtwebengine
sudo pip3 install pyqtwebengine
may solve the problem. The reason is that pyqt5-sip has to be installed BEFORE pyqt5. Also, both have to be installed in the same directory (sudo pip3 and pip3 must not be mixed). The installer of PyQtWebEngine installs everything in the right order, so the problem can be solved by uninstalling everything and purely executing the latest installer.
License
If not stated otherwise in the corresponding files, source code is distributed unter the GPLv3 license. This is at the moment required since this library uses the free version of PyQt5.
Dependencies
The following requirements are automatically installed if the recommended setup.py is used.
NumPy: https://www.numpy.org/
Matplotlib: https://matplotlib.org/
SciPy: https://www.scipy.org/
Uncertainties: https://pythonhosted.org/uncertainties/
PyUSB: https://pyusb.github.io/pyusb/
PyQt5: https://www.riverbankcomputing.com/software/pyqt/
PyQTGraph: http://www.pyqtgraph.org/
Markdown2: https://github.com/trentm/python-markdown2
faultguard: https://github.com/2xB/faultguard
faultguard was initially developed for this project.
Currently supported MCAs
As a design principle, this software has no dependencies to binaries from third partys such as MCA manufacturers. This allows the software to be platform independent and open source, but also makes it necessary to reverse engineer every MCA USB protocol for every supported product. If you are a vendor or want to contribute out of other reasons, please get in touch by e.g. creating an github issue with your contact address.
| Name | Vendor ID | Product ID | Data Transfer Type | Notes |
|---|---|---|---|---|
| CAEN N957 8K MCA | 0x0547 | 0x1002 | Eventwise channel IDs | Reading first 8064 channels [1] |
Notes
[1] The last channels are ignored since they can be invalid depending on internal settings.
Credits
Funding: Institute for Nuclear Physics, University of Münster, Germany
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imcar-1.0.3.tar.gz.
File metadata
- Download URL: imcar-1.0.3.tar.gz
- Upload date:
- Size: 258.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70c955cd708ddd591b5a7be19ade0bd66148a66d8cc69b4e70ce12bc10e2b2a9
|
|
| MD5 |
d995808e5eb6239bc54fc99158494f5e
|
|
| BLAKE2b-256 |
fbf78f79c5b274101a6c94d3f37922631bb98e6241b0a6e9abe9c1eeb1a9829f
|
Provenance
The following attestation bundles were made for imcar-1.0.3.tar.gz:
Publisher:
publish-python.yml on 2xB/imcar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imcar-1.0.3.tar.gz -
Subject digest:
70c955cd708ddd591b5a7be19ade0bd66148a66d8cc69b4e70ce12bc10e2b2a9 - Sigstore transparency entry: 227003750
- Sigstore integration time:
-
Permalink:
2xB/imcar@fa4f97ddbce15ca352ca429b341092e63d3486a9 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/2xB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@fa4f97ddbce15ca352ca429b341092e63d3486a9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file imcar-1.0.3-py3-none-any.whl.
File metadata
- Download URL: imcar-1.0.3-py3-none-any.whl
- Upload date:
- Size: 263.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab02e2c03419073f632f31a9f0252a09f2d71555f3a2dcf64d42ee0e40abddcf
|
|
| MD5 |
0c45a7b00d9fc972b413f2fc116c7974
|
|
| BLAKE2b-256 |
91383d3558970217fb29aad15fc76ff399a12e1e9e99c90a91fd263e9a6f94b5
|
Provenance
The following attestation bundles were made for imcar-1.0.3-py3-none-any.whl:
Publisher:
publish-python.yml on 2xB/imcar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imcar-1.0.3-py3-none-any.whl -
Subject digest:
ab02e2c03419073f632f31a9f0252a09f2d71555f3a2dcf64d42ee0e40abddcf - Sigstore transparency entry: 227003752
- Sigstore integration time:
-
Permalink:
2xB/imcar@fa4f97ddbce15ca352ca429b341092e63d3486a9 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/2xB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@fa4f97ddbce15ca352ca429b341092e63d3486a9 -
Trigger Event:
release
-
Statement type: