Files
cristallina_envs/analysis-stable.yml
2026-01-26 16:15:42 +01:00

63 lines
2.1 KiB
YAML
Executable File

# Analysis environment meant to be more stable and a bit behind the 'analysis' environment
name: analysis-stable
channels:
- conda-forge
dependencies:
# essentials
- python=3.12 # keep at 3.12 beause of bitshuffle
- pip
- numpy
- scipy
- pandas
- numba
- matplotlib
- ipython
- jupyterlab
- ipympl
- joblib
- tqdm # sfdata dependency but here given explicitly
- lmfit
- pytest
- bitshuffle=0.5.2=py312h5fdea32_5 # this specific build of bitshuffle works with python 3.12
# for higher versions new build must be found
# useful development packages
- black
- pytest # for testing the cristallina package
- h5py # sfdata dependency but here given explicitly
- pint
- line_profiler
- loguru
- pylint
- ipytest # used to be taken from pip, but here we test the conda-forge version
- sqlalchemy # X-ray transmission calculations and similar
- xraydb # X-ray transmission calculations and similar
- scikit-image # Image processing
- partialjson # For processing unfinished runs
# and extra control parts
- fabric
# Jupyterlab extensions
- nb_conda_kernels # for discovery of other kernels
# - jupyterlab-drawio
- jupyterlab_code_formatter
# - jupytext # needs to be tested manually
# PSI specific modules
- paulscherrerinstitute::sfdata
- paulscherrerinstitute::jungfrau_utils # should be a dependency of sfdata, but not listed there explicitly
- paulscherrerinstitute::data_api
- pip:
- -e /sf/cristallina/applications/cristallina # Creates a "local package" of cristallina .This shows a deprication warning and
# should be changed to using .toml in the future.
# If wanted, jupyterlab_hdf can be added for nicer tables
# pip install jupyterlab_hdf
# jupyter labextension install @jupyterlab/hdf5
## Dependencies
# - colorama # dependency of sfdata
## Probably can be removed
# - astropy # Used for conversion of magnet coordinates, probably not needed any more
# - pyqt # Not sure if it's needed in the analysis env