Simplified microscope plugin method example
This commit is contained in:
parent
1e7947e097
commit
7b9efea478
1 changed files with 5 additions and 2 deletions
|
|
@ -59,8 +59,11 @@ For example, a simple plugin file named `myplugin.py`, may look like:
|
|||
Demonstrate access to Microscope.camera, and Microscope.stage
|
||||
"""
|
||||
|
||||
response = "My parent camera is {}, and my parent stage is {}.".format(self.microscope.camera,
|
||||
self.microscope.stage)
|
||||
parent_camera = self.microscope.camera
|
||||
parent_stage = self.microscope.stage
|
||||
|
||||
response = "My parent camera is {}, and my parent stage is {}.".format(parent_camera,
|
||||
parent_stage)
|
||||
return response
|
||||
|
||||
def hello_world(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue