Single Event Data Frame Processor: Backend to handle photoelectron resolved datastreams
Project description
sed-processor is a backend to process and bin multidimensional single-event datastreams, with the intended primary use case in multidimensional photoelectron spectroscopy using time-of-flight instruments.
It builds on Dask dataframes, where each column represents a multidimensional "coordinate" such as position, time-of-flight, pump-probe delay etc., and each entry represents one electron. The SedProcessor
class provides a single user entry point, and provides functions for handling various workflows for coordinate transformation, e.g. corrections and calibrations.
Furthermore, "sed-processor" provides fast and parallelized binning routines to compute multidimensional histograms from the processed dataframes in a delayed fashion, thus reducing requirements on cpu power and memory consumption.
Finally, in contains several export routines, including export into the NeXus format with rich and standardized metadata annotation.
Installation
Prerequisites
- Python 3.8+
- pip
Steps
- Create a new virtual environment using either venv, pyenv, conda, etc. See below for an example.
python -m venv .sed-venv
- Activate your environment:
# On macOS/Linux
source .sed-venv/bin/activate
# On Windows
.sed-venv\Scripts\activate
- Install
sed
, distributed assed-processor
on PyPI:
pip install sed-processor[all]
- If you intend to work with Jupyter notebooks, it is helpful to install a Jupyter kernel for your environment. This can be done, once your environment is activated, by typing:
python -m ipykernel install --user --name=sed_kernel
- If you do not use Jupyter Notebook or Jupyter Lab, you can skip the installing those dependencies
pip install sed-processor
Documentation
Comprehensive documentation including several workflow examples can be found here: https://opencompes.github.io/docs/sed/latest/
Contributing
Users are welcome to contribute to the development of sed-processor. Information how to contribute, including how to install developer versions can be found in the documentation
We would like to thank our contributors!
License
sed-processor is licenced under the MIT license
Copyright (c) 2022-2024 OpenCOMPES
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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 sed_processor-0.2.2a0.tar.gz
.
File metadata
- Download URL: sed_processor-0.2.2a0.tar.gz
- Upload date:
- Size: 130.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49726559eb79ffe3069ff1e398d7853418529d213e8ce410aa5ecb5f9d57f22 |
|
MD5 | dbe585c38bbc10132687910abf1d267d |
|
BLAKE2b-256 | ea168940538fb822c494b57d6e7f893e42e6b54d24dee2d90c8b893a95c6b43f |
Provenance
The following attestation bundles were made for sed_processor-0.2.2a0.tar.gz
:
Publisher:
release.yml
on OpenCOMPES/sed
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
sed_processor-0.2.2a0.tar.gz
- Subject digest:
f49726559eb79ffe3069ff1e398d7853418529d213e8ce410aa5ecb5f9d57f22
- Sigstore transparency entry: 148213992
- Sigstore integration time:
- Predicate type:
File details
Details for the file sed_processor-0.2.2a0-py3-none-any.whl
.
File metadata
- Download URL: sed_processor-0.2.2a0-py3-none-any.whl
- Upload date:
- Size: 145.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc024d1b47a1e2334e83945a61d8c880284a546160e27a31407a336895201f6 |
|
MD5 | cd6ca9ef9eb4642459fcec84c12ba02b |
|
BLAKE2b-256 | a848f3335e16f5bb113b80c526499c94c752c20a970aee75ed86480d2a523608 |
Provenance
The following attestation bundles were made for sed_processor-0.2.2a0-py3-none-any.whl
:
Publisher:
release.yml
on OpenCOMPES/sed
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
sed_processor-0.2.2a0-py3-none-any.whl
- Subject digest:
edc024d1b47a1e2334e83945a61d8c880284a546160e27a31407a336895201f6
- Sigstore transparency entry: 148213995
- Sigstore integration time:
- Predicate type: