Single Event Data Frame Processor: Backend to handle photoelectron resolved datastreams
Project description
sed
Single Event Data Frame Processor: Backend to handle photoelectron resolved datastreams
Installation
Pip (for users)
-
Create a new virtual environment using either venv, pyenv, conda etc. See below for example.
-
Install sed, distributed as sed-processor on PyPI
pip install sed-processor
-
This should install all the requirements to run
sed
in your environment. -
If you intend to work with jupyter notebooks, it is helpfull to install a jupyter kernel of your environment. This can be done, once activating your environment, by typing:
python -m ipykernel install --user --name=sed_kernel
- To create an environment using venv, use
python -m venv .sed-venv
- To activate your environment:
source .sed-venv/bin/activate
Poetry (for developers)
-
Prerequisites:
- poetry: https://python-poetry.org/docs/
-
Create a virtual environment by typing:
poetry shell
- A new shell will be spawn with the new environment activated
- Install the dependencies from the
pyproject.toml
by typing:
poetry install
- If you wish to use the virtual environment created by poetry to work in a Jupyter notebook, you first need to install the optional notebook dependencies and then create a Jupyter kernel for that.
- Install the optional dependencies ipykernel and jupyter
poetry install -E notebook
- Make sure to run the command below within your virtual environment ('poetry run' ensures this) by typing:
poetry run ipython kernel install --user --name=sed_poetry
- The new kernel will be eligible now from your kernels list in Jupyter
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
sed_processor-0.1.4.tar.gz
(105.5 kB
view hashes)
Built Distribution
sed_processor-0.1.4-py3-none-any.whl
(119.9 kB
view hashes)
Close
Hashes for sed_processor-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfb95d52a0b883d270b8f48c5afa9e6653d1c63aa3b8846ef0bfa609a7741488 |
|
MD5 | 2d8281ba665b7a92c927c20e7c972d33 |
|
BLAKE2b-256 | c9ac1e7c2f3b37abd9edf47007ab4b1f09ec13443f87e542ec354fbeef8d66fb |