Continuous-scan subsets

Continuous-scan subsets#

A single 3D HDF5 dataset can contain several tomography scans arranged along the angular dimension. Use continuous_scan_subset to load one scan by specifying its start and stop indices. As with Python slicing, the stop index is excluded.

This example selects indices 90 through 179:

- method: standard_tomo
  module_path: httomo.data.hdf.loaders
  parameters:
    data_path: auto
    image_key_path: auto
    rotation_angles: auto
    continuous_scan_subset:
      start: 90
      stop: 180

The option can be combined with Previewing to crop the detector dimensions and with Darks and flats to load external darks or flats. Its start and stop values replace preview.angles. If --continuous-scan-subset is also supplied on the command line, the command-line values replace the values in the pipeline.