Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
nam
ProxPython
Commits
128499cc
Commit
128499cc
authored
Feb 04, 2021
by
Schellhorn
Browse files
more automatic download
parent
8f9cc260
Changes
2
Hide whitespace changes
Inline
Side-by-side
proxtoolbox/experiments/phase/Phasepack_Experiment.py
View file @
128499cc
...
...
@@ -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
GetData
.
getData
(
'Phase'
)
# check if data exists
# TODO: All the data corresponding to this experiment should be placed
# in a zip file on the http://vaopt.math.uni-goettingen.de/data/ website
...
...
proxtoolbox/utils/GetData/GetData.py
View file @
128499cc
...
...
@@ -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
)
else
:
print
(
"Invalid input in GetData.GetData. problemFamily has to be Phase, CT or Ptychography"
)
return
-
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment