Backend to handle photoelectron resolved datastreams.
python -m venv .sed-venv
# On macOS/Linux
source .sed-venv/bin/activate
# On Windows
.sed-venv\Scripts\activate
sed
, distributed as sed-processor
on PyPI:pip install sed-processor[all]
python -m ipykernel install --user --name=sed_kernel
pip install sed-processor
git clone https://github.com/OpenCOMPES/sed.git
cd sed
# Create a virtual environment
python -m venv .sed-dev
# Activate the virtual environment
# On macOS/Linux
source .sed-dev/bin/activate
# On Windows
.sed-dev\Scripts\activate
pip install -e .[all]
Now you have the development version of sed
installed in your local environment. Feel free to make changes and submit pull requests.
poetry shell
A new shell will be spawned with the new environment activated.
Install the dependencies from the pyproject.toml
by typing:
poetry install --with dev, docs
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.
poetry install -E notebook
poetry run
ensures this) by typing:poetry run ipython kernel install --user --name=sed_poetry