*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit d647ac1c authored by David Meyer's avatar David Meyer
Browse files

Fix docs typos

parent 31e7c120
No related branches found
No related tags found
1 merge request!1Merge from GitHub repo
......@@ -67,7 +67,7 @@ Single shot analysis with global file opening
with Run(path).open('r+') as shot:
# Obtaining a trace:
t, mot_fluorecence = run.get_trace('mot fluorecence')
t, mot_fluorecence = shot.get_trace('mot fluorecence')
# Now we might do some analysis on this data. Say we've written a
# linear fit function (or we're calling some other libaries linear
......
......@@ -381,7 +381,7 @@ class Run(object):
>>> with shot.open('r'):
>>> # shot processing that requires reads/writes
>>> _, vals = shot.get_trace('my_trace')
>>> with shot.open('r+')
>>> with shot.open('r+'):
>>> results = vals**2
>>> shot.save_result_array('my_result', results)
>>> _, vals2 = shot.get_trace('my_other_trace')
......@@ -396,7 +396,7 @@ class Run(object):
>>> from lyse import *
>>> with Run(path).open('r+') as shot:
>>> # shot processing that requires reads/writes
>>> t, vals = shots.get_trace('my_trace')
>>> t, vals = shot.get_trace('my_trace')
>>> results = vals**2
>>> shot.save_result_array('my_result', results)
>>> # Shot processing that doesn't require h5 reads/writes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment