Files
Jungfraujoch/docs/RESOLUTION_EST.md
2025-05-12 14:17:24 +02:00

843 B

Resolution estimation (ML)

Resolution estimation can be done with a recent deep learning model by D. Mendez et al. (see Acta Cryst D, 80, 26-43), adapted to Jungfraujoch. Model used in the original paper is located in the resonet/ directory, after converting to TorchScript format.

To simplify deployment the model runs via Python HTTP server.

Installation

cd resonet
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Execution

cd resonet
source .venv/bin/activate
python jfjoch_inference_server.py --port=<UDP port, default `8000`> --dev=<device, e.g. `cpu` or `cuda:0` for 1st GPU, default is `cuda`>

Known issues

The feature is experimental, and for the time being performance is low, below 100 Hz with 4 x Nvidia L4 GPUs.