Commit 7688e5ca authored by Samuel Debionne's avatar Samuel Debionne Committed by Sebastien Petitdemange
Browse files

Fix example python script in the doc

parent 067d3ba9
...@@ -81,7 +81,7 @@ This is a python code example for a simple test: ...@@ -81,7 +81,7 @@ This is a python code example for a simple test:
.. code-block:: python .. code-block:: python
from Lima import Pilatus from Lima import Pilatus
from lima import Core from Lima import Core
cam = Pilatus.Camera() cam = Pilatus.Camera()
hwint = Pilatus.Interface(cam) hwint = Pilatus.Interface(cam)
...@@ -109,7 +109,7 @@ This is a python code example for a simple test: ...@@ -109,7 +109,7 @@ This is a python code example for a simple test:
# now ask for 2 sec. exposure and 10 frames # now ask for 2 sec. exposure and 10 frames
acq.setAcqExpoTime(2) acq.setAcqExpoTime(2)
acq.setNbImages(10) acq.setAcqNbFrames(10)
ct.prepareAcq() ct.prepareAcq()
ct.startAcq() ct.startAcq()
......
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