provide helpers + improve mock classes
it would be nice to have a function that can take as input a list of 'frame' and write it as Nxtomo or EDF files like:
def write_as_NXTomo(
frames = [
Frame(data=numpy.ones((100, 100)), image_key='projection', rotation_angle=0, x_translation=12, y_translation=12, z_translation=12),
Frame(data=numpy.ones((100, 100)), image_key='dark', rotation_angle=0, x_translation=12, y_translation=12, z_translation=12)
],
energy=12,
sample_name="toto",
)
...
def write_as_edf_acquisition(
)
Then this could be link with mock to handle temporary folder, create a context...