mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-09-10 13:32:40 +02:00
For crop_translations in ptycho_2d_dataset.py - crop_2d_translations is now crop_translations - roi is now order-insensitive within the first and last pairs of elements. - the definition of top, bottom, left, and right, are now consistent with figures generated by matplotlib.pyplot.imshow - self.intensities is now updated For tests_datasets.py - the order-insensitivity of roi in crop_translation is tested, and tests for specific ordering of values in roi are removed.