Skip to content

Simulating, Reconstructing and Analysing Data for FEL IDI Experiments

License

Notifications You must be signed in to change notification settings

fzimmermann89/idi

Repository files navigation

CAVE: Hic sunt dracones

IDI - INCOHERENT DIFFRACTION IMAGING

https://www.singularity-hub.org/static/img/hosted-singularity--hub-%23e32929.svg tests Build Status

Singularity Image now at library://fzimmermann89/idi/idi

Conda Pacakges at zimmf/idi

PIP Source at idi

Wheels at Releases

content of the repo

  • ipynb: example notebooks
  • simulation: simulation of incoherent images
  • reconstruction: direct and ft based reconstruction
  • util: some small utilities for data analysis, geometry and random distributions, etc.

preparation for slac sdf:

Use Singulariy, if using OOD launcher, use the following to start a jupyterhub

    function jupyter() { singularity run --app jupyter --nv -B /sdf,/gpfs,/scratch,/lscratch library://fzimmermann89/idi/idi $@; }

preparation for sacla:

  • Download and install miniconda, setup ssh tunnel for web access.
  • conda create -n local3 python=3.7 numpy mkl mkl-dev ipython ipykernel cython jinja2 numba numexpr matplotlib six scipy jupyterlab
  • conda activate local3
  • pip install https://github.com/fzimmermann89/idi/
  • python -m ipykernel install --user --name local-simulation-env3 --display-name "local simulation(py37)"

(C) Felix Zimmermann