Commit 128499cc authored by Schellhorn's avatar Schellhorn
Browse files

more automatic download

parent 8f9cc260
......@@ -66,9 +66,6 @@ class Phasepack_Experiment(PhaseExperiment):
Load Phasepack dataset. Create the initial iterate.
#make sure input data can be found, otherwise download it
# check if data exists
# TODO: All the data corresponding to this experiment should be placed
# in a zip file on the website
......@@ -32,6 +32,9 @@ def getData(problemFamily):
my_file = datadir/'CT'/'ART_SheppLogan.mat'
elif problemFamily == 'Ptychography':
my_file = datadir/'Ptychography'/'gaenseliesel.png'
elif problemFamily == 'OrbitalTomog':
errMsg = 'OrbitalTomog downloader is yet a work in progress'
raise IOError(errMsg)
print("Invalid input in GetData.GetData. problemFamily has to be Phase, CT or Ptychography")
return -1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment