Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jun 21, 2018
1 parent bdc89f2 commit fe639ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ qpformat
Documentation
-------------

The documentation, including the reference and examples, is available on `readthedocs.io <https://qpformat.readthedocs.io/en/stable/>`__.
The documentation, including the reference and examples, is available at `qpformat.readthedocs.io <https://qpformat.readthedocs.io/en/stable/>`__.


Installation
Expand Down
3 changes: 2 additions & 1 deletion examples/hyperspy_hologram.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
import qpformat

# load the experimental data
dl_loc = "https://github.com/hyperspy/hyperspy/raw/RELEASE_v1.3/" \
dl_loc = "https://github.com/hyperspy/hyperspy/raw/RELEASE_next_major/" \
+ "hyperspy/misc/holography/example_signals/"
dl_name = "01_holo_Vbp_130V_0V_bin2_crop.hdf5"
if not os.path.exists(dl_name):
print("Downloading {} ...".format(dl_name))
urllib.request.urlretrieve(dl_loc + dl_name, dl_name)

ds = qpformat.load_data(dl_name,
Expand Down
1 change: 1 addition & 0 deletions examples/tif_hologram.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
dl_loc = "https://github.com/bmorris3/shampoo/raw/master/data/"
dl_name = "USAF_test.tif"
if not os.path.exists(dl_name):
print("Downloading {} ...".format(dl_name))
urllib.request.urlretrieve(dl_loc + dl_name, dl_name)


Expand Down

0 comments on commit fe639ff

Please sign in to comment.