States
Classes
Beam(tem)
Bases: State
Control for the beam blanker.
Source code in src/instamatic/TEMController/states.py
31 32 33 34 35 |
|
Attributes
is_blanked: bool
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)
Functions
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/TEMController/states.py
47 48 49 50 51 52 |
|
get()
Get current state of the beam.
Source code in src/instamatic/TEMController/states.py
67 68 69 |
|
set(state, delay=0.0)
Set state of the beam, with optional delay in ms.
Source code in src/instamatic/TEMController/states.py
61 62 63 64 65 |
|
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/TEMController/states.py
54 55 56 57 58 59 |
|
Mode(tem)
Bases: State
Control for the magnification mode.
Source code in src/instamatic/TEMController/states.py
75 76 77 78 |
|
Attributes
state: str
property
Return magnification mode.
Functions
get()
Returns the function mode.
Source code in src/instamatic/TEMController/states.py
89 90 91 |
|
set(mode)
Set the function mode.
Source code in src/instamatic/TEMController/states.py
85 86 87 |
|
Screen(tem)
Bases: State
Control for the fluorescence screen.
Source code in src/instamatic/TEMController/states.py
97 98 99 100 101 102 |
|
Attributes
is_up: bool
property
Return the position of the screen as a bool
state: str
property
Return the position of the screen as a str
Functions
down()
Lower the fluorescence screen.
Source code in src/instamatic/TEMController/states.py
118 119 120 |
|
get()
Get the position of the fluorescence screen.
Source code in src/instamatic/TEMController/states.py
122 123 124 |
|
set(state)
Set the position of the fluorescence screen (up/down).
Source code in src/instamatic/TEMController/states.py
126 127 128 |
|
up()
Raise the fluorescence screen.
Source code in src/instamatic/TEMController/states.py
114 115 116 |
|
State(tem)
Generic class for describing microscope state objects.
Source code in src/instamatic/TEMController/states.py
7 8 9 10 11 |
|
Attributes
name: str
property
Return name of the state control.
Functions
__eq__(other)
Allow str
comparison.
Source code in src/instamatic/TEMController/states.py
16 17 18 19 20 |
|