States
Classes
Beam(tem)
Bases: State
Control for the beam blanker.
Source code in src/instamatic/microscope/components/states.py
37 38 39 40 41 | |
Attributes
is_blanked
property
Return the status of the beam blanker as a bool
state
property
Return the status of the beam blanker as a str (on/off)
Methods:
blank(delay=0.0)
Turn the beamblank on, optionally wait for delay in ms to allow
the beam to settle.
Source code in src/instamatic/microscope/components/states.py
53 54 55 56 57 58 | |
blanked(condition=True, delay=0.0)
Temporarily blank the beam using a with blanked statement.
Source code in src/instamatic/microscope/components/states.py
67 68 69 70 71 72 73 74 75 76 77 | |
get()
Get current state of the beam.
Source code in src/instamatic/microscope/components/states.py
97 98 99 | |
set(state, delay=0.0)
Set state of the beam, with optional delay in ms.
Source code in src/instamatic/microscope/components/states.py
91 92 93 94 95 | |
unblank(delay=0.0)
Turn the beamblank off, optionally wait for delay in ms to allow
the beam to settle.
Source code in src/instamatic/microscope/components/states.py
60 61 62 63 64 65 | |
unblanked(condition=True, delay=0.0)
Temporarily unblank the beam using a with unblanked statement.
Source code in src/instamatic/microscope/components/states.py
79 80 81 82 83 84 85 86 87 88 89 | |
Mode(tem)
Bases: State
Control for the magnification mode.
Source code in src/instamatic/microscope/components/states.py
105 106 107 108 | |
Attributes
state
property
Return magnification mode.
Methods:
get()
Returns the function mode.
Source code in src/instamatic/microscope/components/states.py
119 120 121 | |
set(mode)
Set the function mode.
Source code in src/instamatic/microscope/components/states.py
115 116 117 | |
Screen(tem)
Bases: State
Control for the fluorescence screen.
Source code in src/instamatic/microscope/components/states.py
127 128 129 130 131 132 | |
Attributes
is_up
property
Return the position of the screen as a bool
state
property
Return the position of the screen as a str
Methods:
down()
Lower the fluorescence screen.
Source code in src/instamatic/microscope/components/states.py
148 149 150 | |
get()
Get the position of the fluorescence screen.
Source code in src/instamatic/microscope/components/states.py
152 153 154 | |
set(state)
Set the position of the fluorescence screen (up/down).
Source code in src/instamatic/microscope/components/states.py
156 157 158 | |
up()
Raise the fluorescence screen.
Source code in src/instamatic/microscope/components/states.py
144 145 146 | |
State(tem)
Generic class for describing microscope state objects.
Source code in src/instamatic/microscope/components/states.py
13 14 15 16 17 | |
Attributes
name
property
Return name of the state control.
Methods:
__eq__(other)
Allow str comparison.
Source code in src/instamatic/microscope/components/states.py
22 23 24 25 26 | |