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.
PyPI |
pip install adcorr |
Source code |
|
Documentation |
|
Releases |
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,
)
...
See https://garryod.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.0.tar.gz
(16.7 kB
view details)
Built Distribution
adcorr-0.2.0-py3-none-any.whl
(24.0 kB
view details)
File details
Details for the file adcorr-0.2.0.tar.gz
.
File metadata
- Download URL: adcorr-0.2.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9103a49ebcabe506edd1ea23bc9b854189b0599219a96873078c57e7165db49b |
|
MD5 | 0103cdcb93f98ba650257f4acacb5ed7 |
|
BLAKE2b-256 | 1ef129220b637fb9894524ee8173b7e28fe6f58a3c368555d91ea52a41126510 |
File details
Details for the file adcorr-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: adcorr-0.2.0-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b922477884bb2c7f03366454174d1210390cf72449d363b18a1eed10900ece |
|
MD5 | 301060dc1cf7fe2e37b024507213ab48 |
|
BLAKE2b-256 | 4969d4a560a0beafb2e53660d2a7657668a74fc6388f89c0868c0a0545322f14 |