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 hashes)
Built Distribution
adcorr-0.2.1-py3-none-any.whl
(23.2 kB
view hashes)