de_twin.column.SoapTemChannelClient#
- class de_twin.column.SoapTemChannelClient(host='127.0.0.1', port=5002, timeout=10.0)[source]#
Bases:
objectA small, stdlib-only client for DE-TEM-Channel (or the twin’s SOAP face).
>>> c = SoapTemChannelClient("127.0.0.1", 5002) >>> c.execute_batch(["GUN_HT", "PROJ_Magnification"]) # ['200000', '20000'] >>> c.get("StagePosition"); c.set("Magnification", 50000)
Methods
__init__([host, port, timeout])aberration(name)Last measurement,
[(name, (x, y))]in the corrector's order and units.batch_dict([keys])call(method, **params)Invoke
method; keywordcl_cmstyle names map tocl-cm.corrector_acquire_tableau([tab_type, ...])corrector_correct(name[, value, target, ...])correctorCorrectAberration.getCorrectorInfoparsed (correctorType,mode,currentLabel, ...).corrector_set_config_option(name, value)corrector_wait([timeout, poll_s])Poll
getCorrectorStatus(wall clock) until it leaves 1 (running).execute_batch(keys)get(name)get_pair(method)get_property(key)operation_status([op_id])set(name, value)Write
name.set_corrector_beam_tilt(x_rad, y_rad[, ...])set_stage_position([x, y, z, a, b])status(name)stop()- call(method, **params)[source]#
Invoke
method; keywordcl_cmstyle names map tocl-cm. Returns the response element’s children as strings.
- batch_dict(keys=('GUN_HT', 'GUN_HTMax', 'GUN_HTState', 'PROJ_BeamBlankState', 'ILLUM_Filament', 'PROJ_Mode', 'PROJ_Magnification', 'PROJ_ImageShift', 'PROJ_Focus', 'PROJ_Defocus', 'PROJ_ImageBeamShift', 'PROJ_ScreenPosition', 'CAMERA_MeasuredExposureTime', 'STAGE_Status', 'STAGE_Holder', 'STAGE_Position', 'VACUUM_Status', 'VACUUM_ColumnValvesOpen', 'VACUUM_PVPRunning', 'VACUUM_Gauges', 'PROJ_CameraLength', 'INSTRUMENT_Type', 'PROJ_SubMode', 'PROJ_TemStemMode', 'STAGE_PositionFull', 'ILLUM_ImageShift', 'ILLUM_BeamShift', 'ILLUM_BeamTilt', 'PROJ_ObjStig', 'ILLUM_CondenserStig', 'OP_Status', 'STAGE_Mode', 'ILLUM_SpotSize', 'ILLUM_ProbeMode', 'ILLUM_ConvergenceAngle', 'ILLUM_AlphaSelector', 'ILLUM_CondenserApertureIndex', 'PROJ_DiffractionShift'))[source]#
- corrector_correct(name, value=None, target=None, select='', wait_ms=0)[source]#
correctorCorrectAberration.valueNone = the corrector’s own estimate,targetNone = zero. Withwait_ms> 0, True means completed.