API reference#
The twin#
A complete simulated instrument. |
|
Real-time clock, optionally scaled. |
|
Clock that only moves when told to (deterministic tests, offline studies). |
|
Reference acquisition + correction, keyed like DE-Server's RefFinder. |
Column and corrector#
A simulated column. |
|
A |
|
A de_microscope/autopilot |
|
A small, stdlib-only client for DE-TEM-Channel (or the twin's SOAP face). |
|
Probe and/or image corrector of a column. |
|
The column's low-dose state; column.Column owns one and drives it. |
|
The column understood the request and refused it (the Dummy's |
|
A corrector command was refused or failed ( |
|
A tableau / C1A1 measurement, as the corrector reports it (plus confidence). |
|
One corrector (one CEOS-RPC server): probe (STEM, port 7072) or image (TEM, 7071). |
|
A SOAP call failed (transport, fault or unparseable response). |
|
A set of aberration coefficients (complex, nm). |
Specimen and crystals#
A deterministic virtual specimen: holder + preparation + time evolution. |
|
What to build: seed, holder, preparation, support film and option overrides. |
|
Look up a preset, test pattern or legacy alias by name (case-insensitive). |
|
Reciprocal lattice + kinematic |
Detector#
A camera: sensor maps (dark, gain, defects) plus the per-frame noise pipeline. |
|
Look up a camera model by name, alias or DE-Server enum name (case-insensitive). |
Holders#
Build a holder from a spec string (or return a holder object unchanged). |
|
Simulated MEMS heating (and optionally biasing) holder. |
|
A real DENS holder through |
Optics and rendering#
Magnification -> nm/px and camera length -> 1/nm/px, per mag mode. |
|
The imperfect geometry of a real column (see the module docstring). |
|
A column defined by tables (from calibrations) rather than drawn from a seed: the same interface as |
|
Write the calibrations SerialEM would measure on a column (and, with properties_path, the camera's |
|
A column definition from a microscope's SerialEM calibrations (and, if given, the camera's |
|
Faces (serving the twin)#
A threaded HTTP server speaking the DE-TEM-Channel SOAP API over a Column. |
|
The deapi protocol on a TCP port (plus the UDP stop listener), for one twin. |
|
Serve DE-Server's requests from |
|
The twin's end: open DE-Server's mapping and publish frames into it. |
|
What DE-Server does, in Python: create the mapping, request an acquisition, read frames. |