nxtomomill.converter.edf.checks.compare_volumes#

nxtomomill.converter.edf.checks.compare_volumes(edf_volume_as_urls, hdf5_scan)[source]#
Parameters:
  • edf_volume_as_urls (tuple) – ordered list of the expected volume. contains (DataUrl, bool). first element is the location of the orginal frame, second is a boolean notifying if the frame has been modified or not. If yes then we cannot do the comparaison.

  • hdf5_scan (NXtomoScan) – NXtomo that we want to check the construction.

On this function we compare a final volume and it’s construction. The idea here is more to prevent from some ‘external’ issues such as a file behing not accessible or some ‘rock in the shoe’

Return type:

tuple