Adding a WriteImage method for dataset
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.