DiamondLightSource / DiamondLightSource/httomo

Move index calculations out of `StandardTomoLoader`

Open
#208 1 comment 0 reactions 0 assignees View on GitHub
enhancement loader
Dominant language
Python
Stars
10
Forks
5
Avg merge
5d 17h
Merged PRs (30d)
1

Description

In particular, the following index calculation https://github.com/DiamondLightSource/httomo/blob/25dd6bff918fe10657df845b3930528d0813b1b6/httomo/runner/loader.py#L240 is doing the same sort of thing as this line in the reslice https://github.com/DiamondLightSource/httomo/blob/25dd6bff918fe10657df845b3930528d0813b1b6/httomo/data/hdf/_utils/reslice.py#L63

It would be sensible to collect the common calculation somewhere so both can make use of it, and to avoid going out of sync with one another in the future.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.