Area detector corrections as pure python functions.
Project description
This package provides a set of pure python functions for performing corrections on area detector data.
Install via PyPI with:
pip install adcorr
Useful Links
PyPI |
|
Source code |
|
Documentation |
|
Releases |
Brief Example
A brief example of performing corrections using the library is presented below:
frames = load_my_frames()
mask = load_my_mask()
count_times = load_count_times()
frames = mask_frames(frames, mask)
frames = correct_deadtime(
frames,
count_times,
DETECTOR_MINIMUM_PULSE_SEPARATION,
DETECTOR_MINIMUM_ARRIVAL_SEPARATION,
)
frames = correct_dark_current(
frames,
count_times,
BASE_DARK_CURRENT,
TEMPORAL_DARK_CURRENT,
FLUX_DEPENDANT_DARK_CURRENT,
)
...
Library Compatibility
Library |
Tests |
Coverage |
See https://DiamondLightSource.github.io/adcorr for more detailed documentation.
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
adcorr-0.2.1.tar.gz
(60.7 kB
view details)
Built Distribution
adcorr-0.2.1-py3-none-any.whl
(23.2 kB
view details)
File details
Details for the file adcorr-0.2.1.tar.gz
.
File metadata
- Download URL: adcorr-0.2.1.tar.gz
- Upload date:
- Size: 60.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f6dac7b255ae1162240ffa48e2ce0fb355cfeec189c1ac5315570d1d411bde |
|
MD5 | 518dd3ef914dc5e1e2762d2efa0f7ca9 |
|
BLAKE2b-256 | 0c4d66edd4b36dc7e416a5af12f8c2d26042ca51cbfa0e81f6f9c55705844ef7 |
File details
Details for the file adcorr-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: adcorr-0.2.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d40c40d2bb5684808b6326599dc305032c35afea43a1094f9fa8d1acf283b3 |
|
MD5 | b612bd9bd6bcba001b24d5793cc82afc |
|
BLAKE2b-256 | 41bad4566c1a22141a5568d6b2a6435c1dd650c86473d2711a648a76becc82fc |