65 lines
2.1 KiB
YAML
Executable File
65 lines
2.1 KiB
YAML
Executable File
# Analysis environment derived from the same set of packages but using
|
|
# the most up-to-date packages from conda-forge.
|
|
# Therefore this will follow upstream packages closer but also break from time to time.
|
|
# For more conservative use, use 'analysis-stable'
|
|
|
|
name: analysis
|
|
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
|
|
# 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
|
|
|
|
|