DiamondLightSource / httomo

High-throughput tomography pipeline
https://diamondlightsource.github.io/httomo/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Decide how to specify when no darks/flats are associated with the data #234

Open yousefmoazzam opened 4 months ago

yousefmoazzam commented 4 months ago

It's possible that in the future we would have to deal with data that has no darks/flats at all. Currenty, httomo doesn't support this option, so this feature would need to be added. This raises the question of how this situation would be presented inside httomo.

One option would be to have the darks and flats params for the loader have type Optional[DarksFlatsFileConfig], and then use None values for both when there are no darks/flats associated with the data.