Skip to content

Adding a WriteImage method for dataset

Diogo Figueirinhas requested to merge WriterToDS into develop
A new WriteImage method

Adding a DataSet.WriteImage method to replace the usage of EdfFile methods in phaseretrieval.py. The following methods are added to the DataSet class:

  • WriteImage(data, prefix, projection_number, distance)

  • GetAttenuation(projection): to be used in propagator.py

  • GetAttenuation(projection): to be used in propagator.py

Note: The changes are not implemented in propagator.py since it is not in the develop branch.

Merge request reports