HDF5 - manage z series
In the case of z-series we will receive one NXTomo - HDF5 containing a sequence of n sub-sequence, each with x frames. Each sequence will have the same z value (which won't be the case for helicoidal / helical scan).
For now tomoscan can only produce one TomoScanBase for the entire sequence. Nabu abd tomwer will need to 'split' this sequence into several sub-sequence' - one per z.
In order to do this for now we see two approaches:
- HDF5TomoScan can take a 'z' parameter to filter the projection to take into account. And scan factory can automatically try to split the input if the NXTomo looks like a zserie (looking at x, y and z values, knowledge about acquisition type...)
- add a function 'split_on_z(f)' to HDF5TomoScan which will also generate sub HDF5TomoScan(s). Less conveniant but maybe the API fit more to the data ?