Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 550 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 550 Bytes

contrast-lims

Code for calculating contrast limits for HiP-CT datasets. Designed to be run on the ESRF servers.

The code is split into two parts:

Calculating histograms of data values

calc_distributions.py calculates distributions of all the pixels within a dataset. This is parallelised across slices of images, so makes sense to run it on a cluster at ESRF.

salloc --ntasks=1 --cpus-per-task=64 --time=2:00:00 srun --pty bash

The distributions are saved to files in /data/projects/hop/data_repository/Various/data/histograms.