PyJEM.TEM3 module

class PyJEM.TEM3.Apt3

Bases: Boost.Python.instance

It is a class that can operate the Aperture. To use it, it is necessary to create an instance.

GetExpKind((Apt3)arg1)int :

Get selected aperture type.(Expansion command)

Returns

aperture kind index.

0= CL1, 1= CL2, 2= OL(OL Upper), 3= HC(OL Lower), 4=SA, 5=ENT, 6=HX, 7=BF, 8=AUX1, 9=AUX2, 10=AUX3, 11=AUX4

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Apt3().GetExpKind()
0
GetExpSize((Apt3)arg1, (int)arg2)int :

Get aperture number.(Expansion command)

Parameters

args2 (int) – aperture kind index. 0= CL1, 1= CL2, 2= OL(OL Upper), 3= HC(OL Lower), 4=SA, 5=ENT, 6=HX, 7=BF, 8=AUX1, 9=AUX2, 10=AUX3, 11=AUX4

Returns

Select aperture’s hole number.

Open=0, hole index=1-4

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Apt3().GetExpSize(0)
0
GetKind((Apt3)arg1)int :

Get the type of selected aperture. Below is the aperture indicated by the return.

Returns

Aperture kind index.

0= Nothing, 1= CLA, 2= OLA, 3= HCA, 4= SAA, 5= ENTA, 6= EDS

Example

>>> TEM3.Apt3().GetKind()
0
GetPhasePlateState((Apt3)arg1)int :

Get plate move state.

Returns

plate move state.

Stop=0, Moving=1

Note

This function work on Cryo ARM.

Example

>>> TEM3.Apt3().GetPhasePlateState()
0
GetPosition((Apt3)arg1)list :

Get aperture position. The selected aperture is the reading target.

Returns

Target aperture’s position. (x,y).

Example

>>> TEM3.Apt3().GetPosition()
(0,0)
GetSize((Apt3)arg1, (int)arg2)int :

Get aperture number index.

Parameters

arg2 (int) – aperture kind. 1= CLA, 2= OLA, 3= HCA, 4= SAA, 5= ENTA, 6= EDS

Returns

Selected aperture’s hole number. 0= Open, 1-4= hole index

Example

>>> TEM3.Apt3().GetSize(1)
0
SelectExpKind((Apt3)arg1, (int)arg2)None :

Select aperture type.

Parameters

args2 (int) – aperture kind index. 0= CL1, 1= CL2, 2= OL(OL Upper), 3= HC(OL Lower)=, 4= SA, 5= ENT, 6= HX, 7= BF, 8= AUX1, 9= AUX2, 10= AUX3, 11= AUX4

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Apt3().SelectExpKind(1)
SelectKind((Apt3)arg1, (int)arg2)None :

SelectKindSelect aperture type.

Parameters

arg2 (int) – Aperture kind index. 1= CLA, 2= OLA, 3= HCA, 4= SAA, 5= ENTA, 6= EDS

Example

>>> TEM3.Apt3().SelectKind(1)
SetExpSize((Apt3)arg1, (int)arg2, (int)arg3)None :

Set aperture number.(Expansion command)

Parameters
  • arg2 (int) – aperture kind index. 0= CL1, 1= CL2, 2= OL(OL Upper), 3= HC(OL Lower)=, 4= SA, 5= ENT, 6= HX, 7= BF, 8= AUX1, 9= AUX2, 10= AUX3, 11= AUX4

  • arg3 (int) – hole index. 0= Open, 1-4= hole index

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Apt3().SetExpSize(1,1)
SetPhasePlateToNext((Apt3)arg1)None :

Move to next position.

Note

This function work on Cryo ARM.

Example

>>> TEM3.Apt3().SetPhasePlateToNext()
SetPosition((Apt3)arg1, (int)arg2, (int)arg3)None :

Set aperture position.The selected aperture is the operation target.

Parameters
  • arg2 (int) – x position.

  • arg3 (int) – y position.

Example

>>> TEM3.Apt3().SetPosition(100,100)
SetSize((Apt3)arg1, (int)arg2)None :

Set aperture hole number. The selected aperture is the operation target.

Parameters

args2 (int) – hole number. 0= Open, 1-4= hole index

Example

>>> TEM3.Apt3().SetSize(1)
class PyJEM.TEM3.Camera3

Bases: Boost.Python.instance

It is a class that can operate the Camera. To use it, it is necessary to create an instance.

ExposeShutter((Camera3)arg1, (float)arg2)None :

Open shutter and close it after wait.

Parameters

arg2 (float) – wait time. Range is 0.1-180.0 (sec)

Example

>>> TEM3.Camera3().ExposeShutter(100)
GetCurrentDensity((Camera3)arg1)float :

Get electric current density. Converted value to film plane

Returns

electric current density (pA/cm2).

Example

>>> TEM3.Camera3().GetCurrentDensity()
0
GetExpTime((Camera3)arg1)float :

Get exposure time.

Returns: exposure time. Range: 0-180.0 (sec)

Example

>>> TEM3.Camera3().GetExpTime()
0
GetFilmLoadingMode((Camera3)arg1)int :

Get film loading mode.

Returns

film load mode.

0= Manual, 1= Auto(Load film to imaging position before photography), 2= Auto(Load film to imaging position after photography)

Example

>>> TEM3.Camera3().GetFilmLoadingMode()
0
GetMode((Camera3)arg1)int :

Get the way to set shutter speed.

Returns

shutter speed index.

0= Manual exposure, 1= Automatic exposure, 2= BULB

Example

>>> TEM3.Camera3().GetMode()
0
GetPhotoMode((Camera3)arg1)int :

Get photo mode.

Returns

photo mode.

0= Normal, 1= Bulb, 2= Multi Exposure, 3= TF, 4= AMS, 5= MDS

Example

>>> TEM3.Camera3().GetPhotoMode()
0
GetShutterPosition((Camera3)arg1)int :

Get shutter status.

Returns

shutter position index.

0= Open, 1= Close, 2= Expose

Example

>>> TEM3.Camera3().GetShutterPosition()
0
GetStatus((Camera3)arg1)int :

Get Photography status.

Returns

Camera status. 0= Rest, 1= Imaging

Example

>>> TEM3.Camera3().GetStatus
0
GetUnused((Camera3)arg1)int
SelectFilmLoadingMode((Camera3)arg1, (int)arg2)None :

Select film loading mode.

Parameters

arg (int) – film load mode 0= Manual, 1= Auto(Load film to imaging position before photography), 2= Auto(Load film to imaging position after photography)

Example

>>> TEM3.Camera3().SelectFilmLoadingMode(1)
SelectMode((Camera3)arg1, (int)arg2)None :

Select the way to set Shutter Speed.

Parameters

args2 (int) – shutter speed index. 0= Manual exposure, 1= Automatic exposure, 2= BULB

Example

>>> TEM3.Camera3().SelectMode(1)
SetExpTime((Camera3)arg1, (float)arg2)None :

Set exposure time.

Parameters

arg1 (int) – exposure time. Range: 0-180.0 (sec)

Example

>>> TEM3.Camera3().SetExpTime(100)
SetShutterPosition((Camera3)arg1, (int)arg2)None :

Open/Close shutter.

Parameters

arg2 (int) – shuttter position index. 0= Open, 1= Close

Note

This does not work while imaging.Time out error occurs after 1 minute closing.

Example

>>> TEM3.Camera3().SetShutterPosition(1)
class PyJEM.TEM3.Def3

Bases: Boost.Python.instance

It is a class that can operate the Deflector. To use it, it is necessary to create an instance.

GetAngBal((Def3)arg1)list :

Get AngleBalance value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetAngBal()
(8000,8000)
GetBeamBlank((Def3)arg1)int :

Get the beam blanking status.

Returns

blanking status. 0=OFF, 1=ON

Return type

int

Note

Branking method is defined on machine side.

Example

>>> TEM3.Def3().GetBeamBlank()
0
GetCLA1((Def3)arg1)list :

Get CLAlignment1 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetCLA1()
(8000,8000)
GetCLA2((Def3)arg1)list :

Get CLAlignment2 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetCLA2()
(8000,8000)
GetCLs((Def3)arg1)list :

Get CLStig value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetCLs()
(8000,8000)
GetCorrection((Def3)arg1)list :

Get Correction value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetCorrection()
(8000,8000)
GetDefInfo((Def3)arg1, (int)arg2)list :

Get select deflector value. this returns I/O output value.

Parameters

arg2 (int) – deflector index. 0:GUN1, 1:GUN2, 2:CLA1, 3:CLA2, 4:CMP-S, 5:CMP-T. 6:CMT-A, 7:CLS, 8:ISC1, 9:ISC2, 10:SPA, 11:PLA, 12:OLS, 13:ILS, 14:FLS1, 15:FLS2, 16:FLA1, 17:FLA2, 18:SCAN1, 19:SCAN2, 20:IS-ASID, 21:MAG-ADJ, 22:ROTATION, 23:CORRECTION, 24:OFFSET

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetDefInfo(1)
(8000,8000)
GetDetAlign((Def3)arg1, (int)arg2)list :

Get Alignment value for detector. this returns I/O output value.

Parameters

arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetDetAlign(1)
(8000,8000)
GetFLA1((Def3)arg1)list :

Get FLAlignment1 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetFLA1()
(8000,8000)
GetFLA2((Def3)arg1)list :

Get FLAlignment2 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetFLA2()
(8000,8000)
GetFLs1((Def3)arg1)list :

Get FLStig1 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetFLs1()
(8000,8000)
GetFLs2((Def3)arg1)list :

Get FLStig2 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetFLs2()
(8000,8000)
GetGunA1((Def3)arg1)list :

Get GunAlignment1 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetGunA1()
(8000,8000)
GetGunA2((Def3)arg1)list :

Get GunAlignment2 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetGunA2()
(8000,8000)
GetILs((Def3)arg1)list :

Get ILStig value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetILs()
(8000,8000)
GetIS1((Def3)arg1)list :

Get ImageShift1 value. this returns I/O output value. IS on imaging system

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetIS1()
(8000,8000)
GetIS2((Def3)arg1)list :

Get ImageShift2 value. this returns I/O output value. IS on imaging system

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetIS2()
(8000,8000)
GetMagAdjust((Def3)arg1)list :

Get MagAdjust value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetMagAdjust()
(8000,8000)
GetOLs((Def3)arg1)list :

Get OLStig value. this returns I/O output value or OLS value on LM.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetOLs()
(8000,8000)
GetOffset((Def3)arg1)list :

Get Offset value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetOffset()
(8000,8000)
GetPLA((Def3)arg1)list :

Get PLAlign value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetPLA()
(8000,8000)
GetRotation((Def3)arg1)list :

Get Rotation value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetRotation()
(8000,8000)
GetScan1((Def3)arg1)list :

Get SCAN1 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetScan1()
(8000,8000)
GetScan2((Def3)arg1)list :

Get SCAN2 value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetScan2()
(8000,8000)
GetShifBal((Def3)arg1)list :

Get ShiftBalance value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetShifBal()
(8000,8000)
GetSpotA((Def3)arg1)list :

Get SpotAlignment value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetSpotA()
(8000,8000)
GetStemIS((Def3)arg1)list :

Get IS value for ASID. The variable corresponds to IS value overlapped to CLA

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetStemIS()
(8000,8000)
GetTiltBal((Def3)arg1)list :

Get TiltBalance value. this returns I/O output value.

Returns

(x, y).

x (int): x value. range is 0-65535

y (int): y value. range is 0-65535

Example

>>> TEM3.Def3().GetTiltBal()
(8000,8000)
SetAngBal((Def3)arg1, (int)arg2, (int)arg3)None :

Set AngleBalance value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetAngBal(8000,8000)
SetBeamBlank((Def3)arg1, (int)arg2)None :

Set the beam blanking status.

Parameters

arg2 (int) – blanking status. 0=OFF, 1=ON

Note

Branking method is defined on machine side.

Example

>>> TEM3.Def3().SetBeamBlank(1)
SetCLA1((Def3)arg1, (int)arg2, (int)arg3)None :

Set CLAlignment1 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetCLA1(8000,8000)
SetCLA2((Def3)arg1, (int)arg2, (int)arg3)None :

Set CLAlignment2 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetCLA2(8000,8000)
SetCLs((Def3)arg1, (int)arg2, (int)arg3)None :

Set CLStig value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetCLs(8000,8000)
SetDetAlign((Def3)arg1, (int)arg2, (int)arg3, (int)arg4)None :

Set Alignment value for detector. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

  • arg3 (int) – x axis. range is 0-65535.

  • arg4 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetDetAlign(5,8000,8000)
SetFLA1((Def3)arg1, (int)arg2, (int)arg3)None :

Set FLAlignment1 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetFLA1(8000,8000)
SetFLA2((Def3)arg1, (int)arg2, (int)arg3)None :

Set FLAlignment2 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetFLA2(8000,8000)
SetFLs1((Def3)arg1, (int)arg2, (int)arg3)None :

Set FLStig1 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetFLs1(8000,8000)
SetFLs2((Def3)arg1, (int)arg2, (int)arg3)None :

Set FLStig2 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetFLs2(8000,8000)
SetGunA1((Def3)arg1, (int)arg2, (int)arg3)None :

Set GunAlignment1 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetGunA1(8000,8000)
SetGunA2((Def3)arg1, (int)arg2, (int)arg3)None :

Set GunAlignment2 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetGunA2(8000,8000)
SetILs((Def3)arg1, (int)arg2, (int)arg3)None :

Set ILStig value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetILs(8000,8000)
SetIS1((Def3)arg1, (int)arg2, (int)arg3)None :

Set ImageShift1 value. The variable corresponds to I/O output value. IS on imaging system.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetIS1(8000,8000)
SetIS2((Def3)arg1, (int)arg2, (int)arg3)None :

Set ImageShift2 value. The variable corresponds to I/O output value. IS on imaging system.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetIS2(8000,8000)
SetNtrl((Def3)arg1, (int)arg2)None :

NTRL of the region which is being accessed.

Parameters

arg2 (int) – alignment index. 0:GUN1, 1:GUN2, 2:CLA1, 3:CLA2, 4:CMP-S, 5:CMP-T. 6:CMT-A, 7:CLS, 8:ISC1, 9:ISC2, 10:SPA, 11:PLA, 12:OLS, 13:ILS, 14:FLS1, 15:FLS2, 16:FLA1, 17:FLA2, 18:SCAN1, 19:SCAN2, 20:IS-ASID, 21:MAG-ADJ, 22:ROTATION, 23:CORRECTION, 24:OFFSET

Example

>>> TEM3.Def3().SetNtrl(2)
SetOLs((Def3)arg1, (int)arg2, (int)arg3)None :

Set OLStig value. The variable corresponds to I/O output value. Set OLS for LM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetOLs(8000,8000)
SetPLA((Def3)arg1, (int)arg2, (int)arg3)None :

Set PLAlign value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetPLA(8000,8000)
SetScan1((Def3)arg1, (int)arg2, (int)arg3)None :

Set SCAN1 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetScan1(8000,8000)
SetScan2((Def3)arg1, (int)arg2, (int)arg3)None :

Set SCAN2 value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetScan2(8000,8000)
SetShifBal((Def3)arg1, (int)arg2, (int)arg3)None :

Set ShiftBalance value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetShifBal(8000,8000)
SetSpotA((Def3)arg1, (int)arg2, (int)arg3)None :

Set SpotAlignment value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetSpotA(8000,8000)
SetStemA1CoarseRel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease A1 Coarse value for STEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetStemA1CoarseRel(8000,8000)
SetStemBeamTiltRel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease Beam Tilt value for STEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetStemBeamTiltRel(8000,8000)
SetStemIS((Def3)arg1, (int)arg2, (int)arg3)None :

Set IS value for ASID. The variable corresponds to IS value overlapped to CLA.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetStemIS(8000,8000)
SetStemStigA1Rel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease Stig A1 value for STEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetStemStigA1Rel(8000,8000)
SetStemStigB2Rel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease Stig B2 value for STEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetStemStigB2Rel(8000,8000)
SetStemUserBShiftRel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease User B Shift value for STEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetStemUserBShiftRel(8000,8000)
SetTemA1CoarseRel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease A1 value for TEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetTemA1CoarseRel(8000,8000)
SetTemDShiftRel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease D Shift value for TEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetTemDShiftRel(8000,8000)
SetTemDiStigRel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease Di Stig value for TEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetTemDiStigRel(8000,8000)
SetTemStigA1Rel((Def3)arg1, (int)arg2, (int)arg3)None :

Increase or decrease Stig A1 value for TEM.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Note

This works for ARM200F.

Example

>>> TEM3.Def3().SetTemStigA1Rel(8000,8000)
SetTiltBal((Def3)arg1, (int)arg2, (int)arg3)None :

Set TiltBalance value. The variable corresponds to I/O output value.

Parameters
  • arg2 (int) – x axis. range is 0-65535.

  • arg3 (int) – y axis. range is 0-65535.

Example

>>> TEM3.Def3().SetTiltBal(8000,8000)
class PyJEM.TEM3.Detector3

Bases: Boost.Python.instance

It is a class that can operate the Detector. To use it, it is necessary to create an instance.

GetBrt((Detector3)arg1, (int)arg2)int :

Get Brightness of detector.

Parameters

arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

Returns

brighness value. range is 0-4095

Example

>>> TEM3.Detector3().GetBrt(10)
2000
GetCont((Detector3)arg1, (int)arg2)int :

Get Contrast of detector.

Parameters

arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

Returns

contrast value. range is 0-4095

Example

>>> TEM3.Detector3().GetCont(10)
2000
GetContBrtInfo((Detector3)arg1, (int)arg2)list :

Get the contrast / brightness of the designated detector.

Parameters

arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

Returns

(contrast, brightness). range is 0-4095

Return type

list

Example

>>> TEM3.Detector3().GetContBrtInfo(10)
(2000,2000)
GetImageSw((Detector3)arg1, (int)arg2)int :

Get input signal switch from detector.

Parameters

arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

Returns

image switch. 0=OFF, 1=On

Example

>>> TEM3.Detector3().GetImageSw(10
0
GetPosition((Detector3)arg1, (int)arg2)int :

Get the detector position (In/Out)

Parameters

arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

Returns

in/out status. 0=Out, 1=In

Example

>>> TEM3.Detector3().GetPosition(10
0
GetScreen((Detector3)arg1)int :

Get the screen angle.

Returns

angle index. 0= 0(deg), 1= 7(deg), 2= 90(deg)

Example

>>> TEM3.Def3().GetScreen()
0
SetBrt((Detector3)arg1, (int)arg2, (int)arg3)None :

Set Brightness of detector.

Parameters
  • arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

  • arg3 (int) – brighness value. range is 0-4095

Example

>>> TEM3.Detector3().SetBrt(10,2000)
SetCont((Detector3)arg1, (int)arg2, (int)arg3)None :

Set Brightness of detector.

Parameters
  • arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

  • arg3 (int) – contrast value. range is 0-4095

Example

>>> TEM3.Detector3().SetCont(10,2000)
SetImageSw((Detector3)arg1, (int)arg2, (int)arg3)None :

Change the input signal switch from detector.

Parameters
  • arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

  • arg3 (int) – image switch. 0=OFF, 1=On

Example

>>> TEM3.Detector3().SetImageSw(10,0)
SetPosition((Detector3)arg1, (int)arg2, (int)arg3)None :

Control the detector position (In/Out)

Parameters
  • arg2 (int) – detector index. 1= SEI, 2= EDS, 3= BI-PRISM, 4= DFI-EF, 5= TVCAM-U, 6= SSCAM-U, 7= FARADAY-CAGE, 8= BS, 9= HRD, 10= DFI-U, 11= BFI-U, 12= SCR-F, 13= SCR-L, 14= DFI-B, 15= BFI-B, 16= SSCAM-B,17= TVCAM-B, 18= EELS, 19= TVCAM-GIF, 20= SSCAM-GIF, 21= BEI-TOPO, 22= BEI-COMPO, 23= SEI-TOPO, 24= SEI-COMPO

  • arg3 (int) – in/out status. 0=Out, 1=In

Example

>>> TEM3.Detector3().SetPosition(10,0)
SetScreen((Detector3)arg1, (int)arg2)None :

Control the screen angle.

Parameters

arg2 (int) – angle index. 0= 0(deg), 1= 7(deg), 2= 90(deg)

Example

>>> TEM3.Detector3().SetScreen(0)
class PyJEM.TEM3.EOS3

Bases: Boost.Python.instance

It is a class that can operate the EOS. To use it, it is necessary to create an instance.

DownSelector((EOS3)arg1)None :

Decrement magnification or camera length or Rocking angle number. Up the magnification selector.

Example

>>> TEM3.EOS3().DownSelector()
DownSpctrSelector((EOS3)arg1)None :

Decrement spectrum magnification number. Down the energy spectrometer selector.

Note

Only omega filter configuration machine

Example

>>> TEM3.EOS3().DownSpctrSelector()
DownStemCamSelector((EOS3)arg1)None :

Decrement imaging side camera length(magnification) number for STEM. Down the camera length selector.

Example

>>> TEM3.EOS3().DownStemCamSelector()
GetAlpha((EOS3)arg1)int :

Get alpha number.

Returns

alpha number. range is 0-8.

Example

>>> TEM3.EOS3().GetAlpha()
0
GetAlphaSelectorEx((EOS3)arg1)list :

Get alpha number and string.

Returns

(index, name)

index (int): alpha index.

name (str): alpha name.

Note

require the gatan attachment.

Example

>>> TEM3.EOS3().GetBrightnessZoom()
0
GetBrightnessZoom((EOS3)arg1)int :

Gett brightness zoom state.

Returns

state. 0= OFF, 1= ON

Example

>>> TEM3.EOS3().GetBrightnessZoom()
0
GetCurrentMagSelectorID((EOS3)arg1)int :

Get MAG selector index and Magnification value.

Returns

camera length(magnification) index.

Example

>>> TEM3.EOS3().GetCurrentMagSelectorID()
0
GetDefocus((EOS3)arg1)int :

Get Defocus value.

Returns

defocus value.

Example

>>> TEM3.EOS3().GetDefocus()
0
GetFunctionMode((EOS3)arg1)list :

Get imaging function mode.

Returns

(index, name) function mode.

[On TEM Observation] 0=MAG, 1=MAG2, 2= LowMAG, 3= SAMAG, 4= DIFF

[On STEM Observation] 0= Align, 1= SM-LMAG, 2= SM-MAG, 3= AMAG, 4= uuDIFF, 5= Rocking

Example

>>> TEM3.EOS3().GetFunctionMode()
[0, 'MAG']
GetGIF((EOS3)arg1)int :

Get GIF-mode.

Returns

mode. 0= OFF, 1= ON

Example

>>> TEM3.EOS3().GetGIF()
0
GetMagValue((EOS3)arg1)list :

Get magnification or camera length or rocking angle.

Returns

(value, unit, name)

value (int): Magnification value(magnification of scanning image for ASID.

unit (str): str: Unit string.

name (str): Magnification label.

Example

>>> TEM3.EOS3().GetMagValue()
[3000, 'X', 'X3000']
GetProbeMode((EOS3)arg1)list :

Get irradiative probe mode.

Returns

mode. 0= TEM, 1= EDS, 2= NBD, 3= CBD

Example

>>> TEM3.EOS3().GetProbeMode()
0
GetSpctrMode((EOS3)arg1)int :

Get spectrum mode status.

Returns

mode. 0= OFF, 1= ON

Note

Only omega filter configuration machine

Example

>>> TEM3.EOS3().GetSpctrMode()
0
GetSpctrValue((EOS3)arg1)list :

Get spectrum magnification.

Returns

(value, unit, name)

value (int): Magnification value (um/V).

unit (str): str: Unit string.

name (str): Magnification label.

Note

Only omega filter configuration machine

Example

>>> TEM3.EOS3().GetSpctrValue()
[3000, '2', '3000']
GetSpotSize((EOS3)arg1)int :

Get spot size number.

Returns

spot size number(0-7).

Example

>>> TEM3.EOS3().GetSpotSize()
0
GetStemCamValue((EOS3)arg1)list :

Get imaging side camera length(magnification) for STEM.

Returns

(value, unit, name)

value (int): camera length(magnification) value.

unit (str): str: Unit string.

name (str): camera length(magnification) label.

Example

>>> TEM3.EOS3().GetStemCamValue()
[15, 'mm', '1.5cm']
GetTemStemMode((EOS3)arg1)int :

Get TEM/STEM mode.

Returns

mode. 0= TEM, 1= STEM

Example

>>> TEM3.EOS3().GetTemStemMode()
0
SelectFunctionMode((EOS3)arg1, (int)arg2)None :

Set imaging function mode.

Parameters

arg2 (int) – function mode

[On TEM Observation] 0=MAG, 1=MAG2, 2= LowMAG, 3= SAMAG, 4= DIFF

[On STEM Observation] 0= Align, 1= SM-LMAG, 2= SM-MAG, 3= AMAG, 4= uuDIFF, 5= Rocking

Example

>>> TEM3.EOS3().SelectFunctionMode(1)
SelectProbMode((EOS3)arg1, (int)arg2)None :

Set irradiative probe mode.

Parameters

arg2 (int) – mode. 0= TEM, 1= EDS, 2= NBD, 3= CBD

Example

>>> TEM3.EOS3().SelectProbMode(0)
SelectSpotSize((EOS3)arg1, (int)arg2)None :

Set spot size number.

Parameters

arg2 (int) – spot size number(0-7).

Example

>>> TEM3.EOS3().SelectSpotSize(1)
SelectTemStem((EOS3)arg1, (int)arg2)None :

Set TEM/STEM mode.

Parameters

arg2 (int) – mode. 0= TEM, 1= STEM

Example

>>> TEM3.EOS3().SelectTemStem(0)
SetAlphaSelector((EOS3)arg1, (int)arg2)None :

Set alpha number.

Parameters

arg2 (int) – alpha number(0-8).

Example

>>> TEM3.EOS3().SetAlphaSelector(0)
SetBrightness((EOS3)arg1, (int)arg2)None :

Increase of decrease brightness(MAG link) value. Same as brightness knob.

Parameters

arg2 (int) – brightness value.

About input value. Although full range of short type variable can be accepted. the value around +-1 to 50 is suitable because the range corresponds to that of the knob on the operation panel.

Example

>>> TEM3.EOS3().SetBrightness(10)
SetBrightnessZoom((EOS3)arg1, (int)arg2)None :

Set brightness zoom state.

Parameters

arg2 (int) – state. 0= OFF, 1= ON

Example

>>> TEM3.EOS3().SetBrightnessZoom(1)
SetDiffFocus((EOS3)arg1, (int)arg2)None :

Increase of decrease difffocus(MAG link) value. Same as difffocus knob.

Parameters

arg2 (int) – difffocus value.

About input value. Although full range of short type variable can be accepted. the value around +-1 to 50 is suitable because the range corresponds to that of the knob on the operation panel.

Example

>>> TEM3.EOS3().SetDiffFocus(10)
SetGIF((EOS3)arg1, (int)arg2)None :

Set GIF mode.

Parameters

arg2 (int) – state. 0= OFF, 1= ON

Note

require the gatan attachment.

Example

>>> TEM3.EOS3().SetGIF(1)
SetObjFocus((EOS3)arg1, (int)arg2)None :

Increase of decrease objfocus(MAG link) value. Same as objfocus knob.

Parameters

arg2 (int) – objfocus value.

About input value. Although full range of short type variable can be accepted. the value around +-1 to 50 is suitable because the range corresponds to that of the knob on the operation panel.

Example

>>> TEM3.EOS3().SetObjFocus(10)
SetSelector((EOS3)arg1, (int)arg2)None :

Set mag or camera length or rocking angle number value.

Parameters

arg2 (int) – mag or camera length or rocking angle number value.

Example

>>> TEM3.EOS3().SetSelector(10)
SetSpctrMode((EOS3)arg1, (int)arg2)None :

Set spectrum mode.

Parameters

arg2 (int) – mode. 0= OFF, 1= ON

Note

Only omega filter configuration machine

Example

>>> TEM3.EOS3().SetSpctrMode(0)
SetSpctrSelector((EOS3)arg1, (int)arg2)None :

Set spectrum magnification number.

Parameters

arg2 (int) – spectrum magnification index.

Note

Only omega filter configuration machine

Example

>>> TEM3.EOS3().SetSpctrSelector(0)
SetStemCamSelector((EOS3)arg1, (int)arg2)None :

Set imaging side camera length(magnification) number for STEM.

Parameters

arg2 (int) – magnification index.

Example

>>> TEM3.EOS3().SetStemCamSelector(0)
UpSelector((EOS3)arg1)None :

Increment magnification or camera length or Rocking angle number. Up the magnification selector.

Example

>>> TEM3.EOS3().UpSelector()
UpSpctrSelector((EOS3)arg1)None :

Increment spectrum magnification number. Up the energy spectrometer selector.

Note

Only omega filter configuration machine

Example

>>> TEM3.EOS3().UpSpctrSelector()
UpStemCamSelector((EOS3)arg1)None :

Increment imaging side camer a length(magnification) number for STEM. Up the camera length selector.

Example

>>> TEM3.EOS3().UpStemCamSelector()
class PyJEM.TEM3.FEG3

Bases: Boost.Python.instance

It is a class that can operate the FEG. To use it, it is necessary to create an instance.

ExecAutoFlashing((FEG3)arg1, (int)arg2)int :

Start auto flashing method.

Parameters

arg2 (int) – state. 0= Stop, 1= Start

Returns

auto flashing method state. -1= Not ready, 0= Stop, 1= Start

Note

Only work gun type is CFEG

Example

>>> TEM3.FEG3().ExecAutoFlashing(1)
1
ExecEmissionOn((FEG3)arg1, (int)arg2)int :

Start/Stop emission on method.

Parameters

arg2 (int) – state. 0= Stop, 1= Start

Returns

auto flashing method state. -1= Not ready, 0= Stop, 1= Start

Note

Only work gun type is CFEG

Example

>>> TEM3.FEG3().ExecEmissionOn(1)
1
GetAutoFlashingStatus((FEG3)arg1)int :

Get AutoFlashing() execution status

Returns

auto flashing method state. -1= Error, 0= Idle, 1= Running

Note

Only work gun type is CFEG

Example

>>> TEM3.FEG3().GetAutoFlashingStatus()
0
GetBeamValve((FEG3)arg1)int :

Get the FEGUN’s valve state(Open/Close).

Returns

beam valve state. 0= Close, 1=Open

Note

This works for FEG and 3100EF.

Example

>>> TEM3.FEG3().GetBeamValve()
0
GetEmissionOnStatus((FEG3)arg1)list :

Get ExecEmissionOn() state.

Returns

(phase, status)

phase (int): execute state. -1= Error, 0= Idle, 1= Running

status (int): emission status. 0= Emission off, 1= Emission on.

Note

Only work gun type is CFEG

Example

>>> TEM3.FEG3().GetEmissionOnStatus()
(0, 0)
GetV1Ready((FEG3)arg1)int :

Get V1 ready status.

Returns

V1 ready status. 0= Not ready, 1= Ready

Note

This works for ARM200F

Example

>>> TEM3.FEG3().GetBeamValve()
0
SetBeamValve((FEG3)arg1, (int)arg2)None :

Set the FEGUN’s valve state(Open/Close).

Parameters

arg2 (int) – beam valve state. 0= Close, 1=Open

Note

This works for FEG and 3100EF.

Example

>>> TEM3.FEG3().SetBeamValve(1)
SetFEGEmissionOff((FEG3)arg1, (int)arg2)None :

Off the FEG emission.

Parameters

arg2 (int) – emission state. 0= OFF, 1=ON

Note

This works for ARM200F.

Example

>>> TEM3.FEG3().SetFEGEmissionOff(1)
class PyJEM.TEM3.Filter3

Bases: Boost.Python.instance

It is a class that can operate the Filter. To use it, it is necessary to create an instance.

GetEnergyShift((Filter3)arg1)float :

Get energy shift voltage. Variable range and unit can be obtained with GetEnergyShiftRange().

Returns

value (V).

Example

>>> TEM3.Filter3().GetEnergyShift()
10
GetEnergyShiftRange((Filter3)arg1)list :

Get energy shift’s maximum and minimum valve.

Returns

(max, min)

max (float): to set the maximum value.

min (float): to set the minimum value.

Example

>>> TEM3.Filter3().GetEnergyShift()
[3000.0, 0.2]
GetEnergyShiftSw((Filter3)arg1)int :

Get energy shift status(ON/OFF)

Returns

swtich. (ON/OFF)

Example

>>> TEM3.Filter3().GetEnergyShiftSw()
0
GetOmegaAutoTune((Filter3)arg1)list :

Get Filter auto tune setting parameters.

Returns

(swtich, method, camera, exptime, coarse, fine)

switch (int): 0= OFF, 1= ON

method (int): 0= Coarse+Fine. 1= Fine, 2=Coarse, 3= SuperFine

camera (int): camera kind.

exptime (float): exposure time value.

coarse (flost): Threshold coefficient for coarse processing.

fine (float): Threshold coefficient for fine processing

Example

>>> TEM3.Filter3().GetOmegaAutoTune()
(0,0,0,0,0,0)
GetSlitPosition((Filter3)arg1)int :

Get slit status(IN/OUT)

Returns

state. 0= OUT, 1= IN

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().GetSlitPosition()
0
GetSlitWidth((Filter3)arg1)float :

Get slit width. Variable range and unit can be obtained with GetSlitWidthRange().

Returns

value (eV).

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().GetSlitWidth()
0
GetSlitWidthRange((Filter3)arg1)list :

Get the slit width’s maximum and minimum value.

Returns

(max, min)

max (float): to set the maximum value.

min (float): to set the minimum value.

Example

>>> TEM3.Filter3().GetSlitWidthRange()
[47.0, 0.2]
OmegaAutoTuneExec((Filter3)arg1, (int)arg2)None :

Execute Filter auto tune.

Parameters

arg2 (int) – on/off. 0= OFF, 1= ON

Example

>>> TEM3.Filter3().OmegaAutoTuneExec(1)
SetEnergyShift((Filter3)arg1, (float)arg2)None :

Set energy shift voltage. Variable range and unit can be obtained with GetEnergyShiftRange()

Parameters

arg2 (int) – value (V).

Example

>>> TEM3.Filter3().SetEnergyShift(10)
SetEnergyShiftRel((Filter3)arg1, (float)arg2)None :

Set energy shift voltage releative. Variable range and unit can be obtained with GetEnergyShiftRange()

Parameters

arg2 (int) – value(V).

Example

>>> TEM3.Filter3().SetEnergyShiftRel(1)
SetEnergyShiftSw((Filter3)arg1, (int)arg2)None :

Set energy shift switch.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.Filter3().SetEnergyShiftSw(1)
SetOmegaAutoTune((Filter3)arg1, (int)arg2, (int)arg3, (float)arg4, (float)arg5, (float)arg6)None :

Set Filter auto tune setting parameters.

Parameters
  • arg2 (int) – method. 0= Coarse+Fine. 1= Fine, 2=Coarse, 3= SuperFine

  • arg3 (int) – camera kind.

  • arg4 (float) – exposure time value.

  • arg5 (float) – Threshold coefficient for coarse processing.

  • arg6 (float) – Threshold coefficient for fine processing

Example

>>> TEM3.Filter3().OmegaAutoTuneExec(1)
SetSlitPosition((Filter3)arg1, (int)arg2)None :

Set the slit IN/OUT.

Parameters

arg2 (int) – position. 0= Out, 1= In

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().SetSlitPosition(1)
SetSlitWidth((Filter3)arg1, (float)arg2)None :

Set slit width. Variable range and unit can be obtained with GetSlitWidthRange().

Parameters

arg2 (int) – value (eV).

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().SetSlitWidth(1)
class PyJEM.TEM3.GUN3

Bases: Boost.Python.instance

It is a class that can operate the GUN. To use it, it is necessary to create an instance.

GetAnode1CurrentValue((GUN3)arg1)float :

Get Anode1 current value.

Returns

A1 value(kV).

Note

This works for ARM200F.

Example

>>> TEM3.GUN3().GetAnode1CurrentValue()
0
GetAnode2CurrentValue((GUN3)arg1)float :

Get Anode2 current value.

Returns

A1 value(kV).

Note

This works for ARM200F.

Example

>>> TEM3.GUN3().GetAnode2CurrentValue()
0
GetBeamSw((GUN3)arg1)int :

Get beam switch status.

Returns

beam switch. 0= OFF, 1= ON

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().GetBeamSw()
0
GetBiasCurrentValue((GUN3)arg1)float :

Get bias current value.

Returns

bias value.

Note

This works for ARM200F.

Example

>>> TEM3.GUN3().GetBiasCurrentValue()
0.0
GetEmissionCurrentValue((GUN3)arg1)float :

Get emission current value.

Returns

A1 value(uA).

Note

This works for ARM200F.

Example

>>> TEM3.GUN3().GetEmissionCurrentValue()
0
GetFilamentCurrentValue((GUN3)arg1)float :

Get filament current value.

Returns

A1 value(A).

Note

This works for ARM200F.

Example

>>> TEM3.GUN3().GetFilamentCurrentValue()
0
GetFilamentVal((GUN3)arg1)float :

Get filment current value.

Returns

filament value(0 - 4.095).

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().GetFilamentVal()
2.1
GetGunTypeEx((GUN3)arg1)int :

Get the gun type index.

Returns

gun type index.

1= W(Tungsten), 2= LaB6, 3= FEG, 4= W(Self bias type), 5= LaB6(Self Bias Type), 6= LaB6(1000k Self Bias Type), 11= TFEG(ARM200F type), 12= CFEG(ARM200F type), 13= TFEG(ARM300F type), 14= CFEG(ARM300F type), 15= TFEG(Monochrometer type), 16= CFEG(60kV TripleC3 type), 19= TFEG(ARM200F Slim type), 20= CFEG(ARM200F Slim type), 21= TFEG(ARM300F2 type), 22= CFEG(ARM300F2 type)

Example

>>> TEM3.GUN3().GetGunTypeEx()
11
GetHtCurrentValue((GUN3)arg1)list :

Get the HT-related current values.

Returns

(ht, a1, a2, bias, filament, energyshift, dark, emission)

ht (int): Ht current value.

a1 (int): Anode1 current value.

a2 (int): Anode2 current value.

bias (int): Bias curent value.

filament (int): filament current value.

energyshift (int): EnergyShift current value.

dark (int): Dark current value.

emission (int): EmissionCurrent value.

Example

>>> TEM3.GUN3().GetHtCurrentValue()
[0, 0, 0, 0, 0, 0, 0]
GetHtMonitorValue((GUN3)arg1)list :

Get the HT-related monitor values.

Returns

(dark, emission, a1, a2, bias, filament)

dark (int): Darkcurrent monitor value.

emission (int): Emission current monitor value.

a1 (int): Anode1 monitor value.

a2 (int): Anode2 monitor value.

bias (int): Bias monitor value.

filament (int): filament monitor value.

Example

>>> TEM3.GUN3().GetHtMonitorValue()
[0, 0, 0, 0, 0, 0]
GetHtStts((GUN3)arg1)int :

Get ht status.

Returns

ht status. 0= OFF, 1= ON, 2= Increasing or Decreasing .

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().GetHtStts()
0
GetHtTargetValue((GUN3)arg1)list :

Get the HT-related target values.

Returns

(ht, a1, a2, bias, filament, energyshift)

ht (int): HT target value.

a1 (int): Anode1 target value.

a2 (int): Anode2 target value.

bias (int): Bias target value.

filament (int): filament target value.

energyshift (int): EnergyShift target value.

Example

>>> TEM3.GUN3().GetHtTargetValue()
[0, 0, 0, 0, 0, 0]
SetA2Abs((GUN3)arg1, (int)arg2)None :

Set A2 absolute value.

Parameters

arg2 (int) – a2 absolute value(/10V).

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().SetA2Abs(1)
SetA2Rel((GUN3)arg1, (int)arg2)None :

Set A2 releative value.

Parameters

arg2 (int) – a2 relative value(/10V).

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().SetA2Rel(1)
SetA2Wobbler((GUN3)arg1, (int)arg2)None :

Execute A2 wobbler.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().SetA2Wobbler(1)
SetBeamSw((GUN3)arg1, (int)arg2)None :

Set beam switch. Start heating filament.

Parameters

arg2 (int) – beam switch. 0= OFF, 1= ON

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().SetBeamSw(1)
SetFilamentVal((GUN3)arg1, (float)arg2)None :

Set filment current value.

Parameters

arg2 (float) – filament value(0-4.095).

Note

This does not work for FEG.

Example

>>> TEM3.GUN3().SetFilamentVal(2.1)
SetHtStts((GUN3)arg1, (int)arg2)None :

Change HT ON/OFF switch.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.GUN3().SetHtStts(1)
SetHtWobbler((GUN3)arg1, (int)arg2)None :

Execute Ht wobbler.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.GUN3().SetHtWobbler(1)
SetSelfBias((GUN3)arg1, (int)arg2)None :

Bias setting (self-biased models).

0:FineUp / 1:FineDn / 2:CoarseUp / 3:CoarseDn

Parameters

arg2 (int) – self bias status. 0= FineUp, 1= FineDn, 2= CoarseUp, 3= CoarseDn

Example

>>> TEM3.GUN3().SetSelfBias(1)
class PyJEM.TEM3.HT3

Bases: Boost.Python.instance

It is a class that can operate the HT. To use it, it is necessary to create an instance.

GetHtRange((HT3)arg1)list :

Get accelarate voltage range.

Returns

(max, min)

max (float): HT max value(V).

min (float): HT min value(V).

Example

>>> TEM3.GUN3().GetHtRange()
[300000.0, 10.0]
GetHtValue((HT3)arg1)float :

Get accelarate voltage.

Returns

ht value(V).

Example

>>> TEM3.GUN3().GetHtValue()
200000.0
SetHtValue((HT3)arg1, (float)arg2)None :

Set accelarate voltage.

Parameters

arg2 (int) – ht value(V).

Note

Variable range and unit can be obtained with GetHTRange().

Example

>>> TEM3.GUN3().SetHtValue(200000.0)
class PyJEM.TEM3.Lens3

Bases: Boost.Python.instance

It is a class that can operate the Lens. To use it, it is necessary to create an instance.

GetCL1((Lens3)arg1)int :

Get CL1 value.

Returns

CL1 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetCL1()
8000
GetCL2((Lens3)arg1)int :

Get CL2 value.

Returns

CL2 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetCL2()
8000
GetCL3((Lens3)arg1)int :

Get CL3 value.

Returns

CL3 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetCL3()
8000
GetCM((Lens3)arg1)int :

Get CM value.

Returns

CM value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetCM()
8000
GetFLCInfo((Lens3)arg1, (int)arg2)list :

Get Free Lens Control information.

Parameters

arg2 (int) – lens ID.0= CL1, 1= CL2, 2= CL3, 3= CM, 4= reserve, 5= reserve, 6= OL Coarse, 7= OL Fine, 8= OM1, 9= OM2, 10= IL1, 11= IL2, 12= IL3, 13= IL4, 14= PL1, 15= PL2, 16= PL3, 17= reserve, 18= reserve, 19= FL Coarse, 20= FL Fine, 21= FL Ratio, 22= reserve, 23= reserve, 24= reserve, 25= reserve

Returns

lens state. 0= OFF, 1= ON

Example

>>> TEM3.Lens3().GetFLCInfo(1)
1
GetFLc((Lens3)arg1)int :

Get FL coarse value.

Returns

FL coarse value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetFLc()
8000
GetFLcomp1((Lens3)arg1)int :

Get FL Comp1 value.

Returns

FL Comp1 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetFLcomp1()
8000
GetFLcomp2((Lens3)arg1)int :

Get FL Comp2 value.

Returns

FL Comp2 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetFLcomp2()
8000
GetFLf((Lens3)arg1)int :

Get FL fine value.

Returns

FL fine value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetFLf()
8000
GetIL1((Lens3)arg1)int :

Get IL1 value.

Returns

IL1 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetIL1()
8000
GetIL2((Lens3)arg1)int :

Get IL2 value.

Returns

IL2 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetIL2()
8000
GetIL3((Lens3)arg1)int :

Get IL3 value.

Returns

IL3 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetIL3()
8000
GetIL4((Lens3)arg1)int :

Get IL4 value.

Returns

IL4 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetIL4()
8000
GetLensInfo((Lens3)arg1, (int)arg2)int :

Get Lens information.

Parameters

arg2 (int) – lens ID.0= CL1, 1= CL2, 2= CL3, 3= CM, 4= reserve, 5= reserve, 6= OL Coarse, 7= OL Fine, 8= OM1, 9= OM2, 10= IL1, 11= IL2, 12= IL3, 13= IL4, 14= PL1, 15= PL2, 16= PL3, 17= reserve, 18= reserve, 19= FL Coarse, 20= FL Fine, 21= FL Ratio, 22= reserve, 23= reserve, 24= reserve, 25= reserve

Returns

lens value(0-65535).

Example

>>> TEM3.Lens3().GetLensInfo(1)
8000
GetOLSuperFineSw((Lens3)arg1)int :

Get OL Super fine status.

Returns

OL super fine switch. 0= OFF, 1 =ON

Example

>>> TEM3.Lens3().GetOLSuperFineSw()
0
GetOLSuperFineValue((Lens3)arg1)int :

Get OL Super fine value.

Returns

OL super fine value(0-4095).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetOLSuperFineValue()
4000
GetOLc((Lens3)arg1)int :

Get OL coarse value.

Returns

OL coarse value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetOLc()
8000
GetOLf((Lens3)arg1)int :

Get OL fine value.

Returns

OL fine value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetOLf()
8000
GetOM((Lens3)arg1)int :

Get OM value.

Returns

OM value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetOM()
8000
GetOM2((Lens3)arg1)int :

Get OM2 value.

Returns

OM2 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetOM2()
8000
GetOM2Flag((Lens3)arg1)int :

Get OM2 flag.

Returns

OM2 flag.0= The same polarity as OM1, 1= The contrary to OM1

Example

>>> TEM3.Lens3().GetOM2Flag()
0
GetPL1((Lens3)arg1)int :

Get PL1 value.

Returns

PL1 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetPL1()
8000
GetPL2((Lens3)arg1)int :

Get PL2 value.

Returns

PL2 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetPL2()
8000
GetPL3((Lens3)arg1)int :

Get PL3 value,

Returns

PL3 value(0-65535).

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().GetPL3()
8000
SetCL3((Lens3)arg1, (int)arg2)None :

Set CL3 value(without MAG link).

Parameters

arg2 (int) – CL3 value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetCL3(8000)
SetDiffFocus((Lens3)arg1, (int)arg2)None :

Set diff-focus value(without MAG link).

Parameters

arg2 (int) – diff-focus value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetDiffFocus(8000)
SetFLCAbs((Lens3)arg1, (int)arg2, (int)arg3)None :

Set lens value for Free Lens Control.

Parameters
  • arg2 (int) – lens ID. 0= CL1, 1= CL2, 2= CL3, 3= CM, 4= reserve, 5= reserve, 6= OL Coarse, 7= OL Fine, 8= OM1, 9= OM2, 10= IL1, 11= IL2, 12= IL3, 13= IL4, 14= PL1, 15= PL2, 16= PL3, 17= reserve, 18= reserve, 19= FL Coarse, 20= FL Fine, 21= FL Ratio, 22= reserve, 23= reserve, 24= reserve, 25= reserve

  • arg3 (int) – absolute value. (0-65535)

Example

>>> TEM3.Lens3().SetFLCAbs(1,8000)
SetFLCRel((Lens3)arg1, (int)arg2, (int)arg3)None :

Set the lens value(relative) for Free Lens Control.

Parameters
  • arg2 (int) – lens ID. 0= CL1, 1= CL2, 2= CL3, 3= CM, 4= reserve, 5= reserve, 6= OL Coarse, 7= OL Fine, 8= OM1, 9= OM2, 10= IL1, 11= IL2, 12= IL3, 13= IL4, 14= PL1, 15= PL2, 16= PL3, 17= reserve, 18= reserve, 19= FL Coarse, 20= FL Fine, 21= FL Ratio, 22= reserve, 23= reserve, 24= reserve, 25= reserve

  • arg3 (int) – relative value.

Example

>>> TEM3.Lens3().SetFLCRel(1,100)
SetFLCSw((Lens3)arg1, (int)arg2, (int)arg3)None :

Set lens switch for Free lens Control.

Parameters
  • arg2 (int) – lens ID. 0= CL1, 1= CL2, 2= CL3, 3= CM, 4= reserve, 5= reserve, 6= OL Coarse, 7= OL Fine, 8= OM1, 9= OM2, 10= IL1, 11= IL2, 12= IL3, 13= IL4, 14= PL1, 15= PL2, 16= PL3, 17= reserve, 18= reserve, 19= FL Coarse, 20= FL Fine, 21= FL Ratio, 22= reserve, 23= reserve, 24= reserve, 25= reserve

  • arg3 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.Lens3().SetFLCSw(1,1)
SetFLCSwAllLens((Lens3)arg1, (int)arg2)None :

Set all lens switch(ON/OFF) for Free Lens Control.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.Lens3().SetFLCSwAllLens(1)
SetFLc((Lens3)arg1, (int)arg2)None :

Set FL coarse value(without MAG link).

Parameters

arg2 (int) – FL coarse value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Note

Only omega filter configuration machine

Example

>>> TEM3.Lens3().SetFLc(8000)
SetFLf((Lens3)arg1, (int)arg2)None :

Set FL fine value(without MAG link).

Parameters

arg2 (int) – FL fine value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Note

Only omega filter configuration machine

Example

>>> TEM3.Lens3().SetFLf(8000)
SetILFocus((Lens3)arg1, (int)arg2)None :

Set IL-focus value(without MAG link).

Parameters

arg2 (int) – IL-focus value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetILFocus(8000)
SetNtrl((Lens3)arg1, (int)arg2)None :

Set neutral within only value range.

Parameters

arg2 (int) – kind lens. 0= Brightness, 1= OBJ Focus, 2= DIFF Focus, 3= IL Focus, 4= PL Focus, 5= FL Focus

Example

>>> TEM3.Lens3().SetNtrl(1)
SetOLSuperFineNeutral((Lens3)arg1)None :

Set neutral of OL Super Fine.

Neutral:800(H)

Parameters

arg2 (int) – neutral value.(0-4095)

Note

Neutral value is 800.

Example

>>> TEM3.Lens3().SetOLSuperFineSw(1)
SetOLSuperFineSw((Lens3)arg1, (int)arg2)None :

Set OL Super fine switch.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.Lens3().SetOLSuperFineSw(1)
SetOLSuperFineValue((Lens3)arg1, (int)arg2)None :

Set OL super fine value.

Parameters

arg2 (int) – OL super fine value.(0-4095)

Note: The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetOLSuperFineValue(4000)
SetOLc((Lens3)arg1, (int)arg2)None :

Set OLC value(without MAG link).

Parameters

arg2 (int) – OLc value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetOLc(8000)
SetOLf((Lens3)arg1, (int)arg2)None :

Set OLF value(without MAG link).

Parameters

arg2 (int) – OLf value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetOLf(8000)
SetOM((Lens3)arg1, (int)arg2)None :

Set OM value(without MAG link).

Parameters

arg2 (int) – OM value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetOM(8000)
SetPLFocus((Lens3)arg1, (int)arg2)None :

Set PL-focus value(without MAG link).

Parameters

arg2 (int) – PL-focus value.(0-65535)

Note

The variable corresponds to I/O output value without carry.

Example

>>> TEM3.Lens3().SetPLFocus(8000)
SetStdFocus((Lens3)arg1)None :

Execute load standard focus value.

Example

>>> TEM3.Lens3().SetStdFocus()
class PyJEM.TEM3.MDS3

Bases: Boost.Python.instance

It is a class that can operate the MDS. To use it, it is necessary to create an instance.

EndMdsMode((MDS3)arg1)None :

Unset MDS mode.

Example

>>> TEM3.MDS3().EndMdsMode()
GetMdsMode((MDS3)arg1)int :

Get MDS mode.

Returns

MDS mode. 0= OFF, 1= Search, 2= Focus, 3= Photoset

Example

>>> TEM3.MDS3().GetMdsMode()
0
SetFocusMode((MDS3)arg1)None :

Change to MDS focus mode.

Example

>>> TEM3.MDS3().SetFocusMode()
SetPhotosetMode((MDS3)arg1)None :

Change to MDS photoset mode.

Example

>>> TEM3.MDS3().SetPhotosetMode()
SetSearchMode((MDS3)arg1)None :

Change to MDS search mode.

Example

>>> TEM3.MDS3().SetSearchMode()
class PyJEM.TEM3.Nitrogen3

Bases: Boost.Python.instance

It is a class that can operate the Nitrogen. To use it, it is necessary to create an instance.

ExecRefill((Nitrogen3)arg1, (int)arg2, (int)arg3)None :

Start/Stop manual supply of liquid nitrogen.

Parameters
  • arg2 (int) – 1= Stage ACD tank, 2= Transfer ACD tank

  • arg3 (int) – state. 0= Stop, 1= Start

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().ExecRefill(1,1)
GetCurrentScenarioStatus((Nitrogen3)arg1)int :

Get the transport status.

Returns

status. 0= Stop, 1= Execute.

Note

This function work on Cryo ARM

Example

>>> TEM3.Stage3().GetCurrentScenarioStatus()
0
GetLiquidLevel((Nitrogen3)arg1, (int)arg2)list :

Get the liquid level of liquid nitrogen.

Parameters

arg2 (int) – target. 1= Stage ACD tank, 2= Transfer ACD tank

Returns

(level, time)

level (int): liquid level (%)

time (int): remaining time (min).

Note

This function work on Cryo ARM

Example

>>> TEM3.Stage3().GetLiquidLevel(1)
GetMagazineExistStatus((Nitrogen3)arg1)int :

Get the existence of a magazine.

Returns

status. 1= exist in magazine, 2= not exist in magazine

Note

This function work on Cryo ARM

Example

>>> TEM3.Stage3().GetMagazineExistStatus()
1
GetRefillStatus((Nitrogen3)arg1, (int)arg2)int :

Obtain whether liquid nitrogen is being supplied.

Parameters

arg2 (int) – 1= Stage ACD tank, 2= Transfer ACD tank

Returns

tank state. 0= Not refill, 1= refill

Note

This function work on Cryo ARM

Example

>>> TEM3.Nitrogen3().GetRefillStatus(0)
1
GetSampleInformation((Nitrogen3)arg1, (int)arg2)list :

Get sample information.

Parameters

arg2 (int) – cartoridge number.

Returns

(id, station, port, angle, type, name)

id (int): sample ID.

station (int): 1= magazine, 2= storage, 3= stage

port (int): slot number

angle (int): sample angle value. 0= Unknown, 1= 0(deg), 2= 90(deg), 3= common cartridge

type (int): cartridge type. 0= Unknown, 1= common cartoridge, 2= rotation cartoridge

name (str): sample name

Note

This function work on Cryo ARM

Example

>>> TEM3.Stage3().GetSampleInformation(1)
[0, 1, 1, 1, 1, 'Sample']
TransferCartridge((Nitrogen3)arg1, (int)arg2, (int)arg3, (int)arg4)None :

Transport the sample specified by id to the specified station.

Parameters
  • arg2 (int) – sample id. obtained by GetSampleInfomation()

  • arg3 (int) – station. 1= magazine, 2= storage, 3= stage

  • arg4 (int) – sample angle value. 0= Unknown, 1= 0(deg), 2= 90(deg), 3= common cartridge.

Note

This function work on Cryo ARM

Example

>>> TEM3.Stage3().TransferCartridge(1, 1, 1)
class PyJEM.TEM3.Scan3

Bases: Boost.Python.instance

It is a class that can operate the Scan. To use it, it is necessary to create an instance.

GetExtScanMode((Scan3)arg1)int :

Get external scan mode.

Returns

0= OFF, 1= ON

Example

>>> TEM3.Scan3().GetExtScanMode()
0
GetNoiseCancellerVal((Scan3)arg1)int :

Get noise canceller value.

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.Scan3().GetNoiseCancellerVal()
0
GetRotationAngle((Scan3)arg1)int :

Get Scan Rotation angle.

Range:0-359 (degree)

Returns

rotation angle.

Example

>>> TEM3.Scan3().GetRotationAngle()
90
GetRotationAngleEx((Scan3)arg1)float :

Get scan rotation angle.

Returns

rotation angle.0-359.9 (degree). unit is 0.1

Example

>>> TEM3.Scan3().GetRotationAngleEx()
85.5
SetExtScanMode((Scan3)arg1, (int)arg2)None :

Set external scan mode.

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.Scan3().SetExtScanMode(1)
SetRotationAngle((Scan3)arg1, (int)arg2)None :

Set scan rotation angle.

Parameters

arg2 (int) – rotation angle.(0-359(degree))

Example

>>> TEM3.Scan3().SetRotationAngle(90)
SetRotationAngleEx((Scan3)arg1, (float)arg2)None :

Set scan rotation angle.

Parameters

arg2 (float) – rotation angle.(0.0-359.9(degree)). unit is 0.1

Example

>>> TEM3.Scan3().SetRotationAngleEx(85.5)
0
SetScanDataAbs((Scan3)arg1, (int)arg2, (int)arg3)None :

Set scan data value.

Parameters
  • arg2 (int) – kind. 0= Mag Adjust H, 1= Mag Adjust V, 2= Rotation H, 3= Rotation V, 4= Correction H, 5= Correction V, 6= Offset H, 7= Offset V

  • arg3 (int) – value. (0-65535)

Note

This function work on ARM200F or ARM300F

Example

>>> TEM3.Scan3().GetNoiseCancellerVal()
0
class PyJEM.TEM3.Stage3

Bases: Boost.Python.instance

It is a class that can operate the Stage. To use it, it is necessary to create an instance.

GetAccelAndDclrRate((Stage3)arg1, (int)arg2)list :

Get acceleration / decelerateion rate during keystone control (for Z/Tx/ Ty).

Parameters

arg2 (int) – axis. 2= z, 3= tilt-x, 4 =tilt-y

Returns

(accel, decel)

accel (int): accel rate (64-65535)

decel (int): decel rate (64-65535)

Example

>>> TEM3.Stage3().GetAccelAndDclrRate(2)
[100,100]
GetDirection((Stage3)arg1)list :

Get driving direction.

Returns

(x, y, z, tiltx, tilty). 0= minus, 1= plus

x (int): x axis

y (int): y axis

z (int): z axis

tiltx (int): tilt-x axis

tilty (int): tilt-y axis

Example

>>> TEM3.Stage3().GetDirection()
[0, 0, 0, 0, 0]
GetDrvMode((Stage3)arg1)int :

Get selection on motor/piezo.

Returns

mode. 0= Motor, 1= Piezo

Example

>>> TEM3.Stage3().GetDrvMode()
0
GetHolderStts((Stage3)arg1)int :

Get holder status(In/Out)

Returns

In/Out status. 0= Out, 1= In

Example

>>> TEM3.Stage3().GetHolderStts()
1
GetMovementValueMeasurementMethod((Stage3)arg1)int :

Get movement amount measurement method (for Z/Tx/Ty).

Returns

method. 0= encoder, 1= potens

Example

>>> TEM3.Stage3().GetMovementValueMeasurementMethod()
1
GetPiezoPosi((Stage3)arg1)list :

Get piezo position.

Returns

(x, y). Range is +-100000.0(nm)

x (float): x axis

y (float): y axis

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().GetPiezoPosi()
[-1750.0, -1263.888916015625]
GetPos((Stage3)arg1)list :

Get motor position. it depends on the drive mode.

Returns

(x, y, z, tiltx, tilty)

x (float): x axis value

y (float): y axis value

z (float): z axis value

tiltx (float): tilt-x axis value

tilty (float): tilt-y axis value

Example

>>> TEM3.Stage3().GetPos()
[0.0, 0.0, 0.0, 0.0, 0.0]
GetPosEx((Stage3)arg1)list :

Get motor positiont

Returns

(x, y, z, tiltx, tilty, rot)

x (float): x axis value

y (float): y axis value

z (float): z axis value

tiltx (float): tilt-x axis value

tilty (float): tilt-y axis value

rot (float): rotation

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Stage3().GetPosEx()
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
GetSpeedMode((Stage3)arg1, (int)arg2)list :

Get selection on motor/piezo.

Parameters

arg2 (int) – 0= motor, 1= piezo

Returns

(xy, x, tiltxy)

xy (int): x-y axis speed. 0= slow, 1= normal, 2= fast

z (int): z axis speed. 0= slow, 1= normal, 2= fast

tiltxy (int): tiltx-y axis speed. 0= slow, 1= normal, 2= fast

Example

>>> TEM3.Stage3().GetSpeedMode(0)
(0,0,0)
GetSpeedModeEx((Stage3)arg1, (int)arg2)list :

Get selection on motor/piezo.

Parameters

arg2 (int) – 0= motor, 1= piezo

Returns

(xy, x, tiltxy, rot)

xy (int): x-y axis speed. 0= slow, 1= normal, 2= fast

z (int): z axis speed. 0= slow, 1= normal, 2= fast

tiltxy (int): tiltx-y axis speed. 0= slow, 1= normal, 2= fast

rot (int): rotation speed. 0= slow, 1= normal, 2= fast

Example

>>> TEM3.Stage3().GetSpeedModeEx(0)
(0,0,0,0)
GetStatus((Stage3)arg1)list :

Get driving status.

Returns

(x, y, z, tiltx, tilty). 0= Rest, 1= Moving, 2= Hardware limiter error

x (int): x axis

y (int): y axis

z (int): z axis

tiltx (int): tilt-x axis

tilty (int): tilt-y axis

Example

>>> TEM3.Stage3().GetStatus()
[0, 0, 0, 0, 0]
GetStatusEx((Stage3)arg1)list :

Get driving status

Returns

(x, y, z, tiltx, tilty, rot). 0= Rest, 1= Moving, 2= Hardware limiter error

x (int): x axis

y (int): y axis

z (int): z axis

tiltx (int): tilt-x axis

tilty (int): tilt-y axis

rot (int): rotation

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Stage3().GetStatusEx()
[0, 0, 0, 0, 0, 0]
Getf1OverRate((Stage3)arg1, (int)arg2, (int)arg3)list :

Get drive frequency f1.

Parameters
  • arg2 (int) – kind. 0 = trackbaul, 1 = switch, 2 = command

  • arg3 (int) – drive mode. 0= motor, 1= piezo

Returns

(x, y, z, tiltx, tilty).

x (int): x axis

y (int): y axis

z (int): z axis

tiltx (int): tilt-x axis

tilty (int): tilt-y axis

Example

>>> TEM3.Stage3().Getf1OverRate(0,0)
(0,0,0,0,0)
Getf1OverRateTxNum((Stage3)arg1)int :

Get drive frequency f1 of TiltX.

Returns

f1 value index. 0= 10(/sec), 1= 2(/sec), 2= 1(/sec), 3= 0.5(/sec), 4= 0.25(/sec), 5= 0.1(/sec)

Note

This function only work on Cryo-ARM. Only when electron beam 3D crystallography kit is enabled.

Example

>>> TEM3.Stage3().Getf1OverRateTxNum()
0
SelDrvMode((Stage3)arg1, (int)arg2)None :

Change the motor/piezo mode.

0:Motor, 1:Piezo

Parameters

arg2 (int) – mode. 0= Motor, 1= Piezo

Example

>>> TEM3.Stage3().SelDrvMode(0)
SetAccelAndDclrRate((Stage3)arg1, (int)arg2, (int)arg3, (int)arg4)None :

Acceleration / decelerateion rate setting during keystone control (for Z/Tx/Ty).

Parameters
  • arg2 (int) – axis. 2= z, 3= tilt-x, 4 =tilt-y

  • arg3 (int) – Accel rate (64-65535)

  • arg4 (int) – Decel rate (64-65535)

Example

>>> TEM3.Stage3().SetAccelAndDclrRate(2,100,100)
SetMovementValueMeasurementMethod((Stage3)arg1, (int)arg2)None :

Movement amount measurement method setting(for Z/Tx/Ty).

Parameters

arg2 (int) – method. 0= encoder, 1= potens

Example

>>> TEM3.Stage3().SetMovementValueMeasurementMethod(0)
SetOrg((Stage3)arg1)None :

Move to origin position for x, y, z, tilt-x, tilt-y axis.

Example

>>> TEM3.Stage3().SetOrg()
SetPosition((Stage3)arg1, (float)arg2, (float)arg3)None :

Set X-Y axis drive(with rotation compensation).

Parameters
  • arg2 (float) – X axis relative value. range is +-100000.0 (nm)

  • arg3 (float) – Y axis relative value. range is +-100000.0 (nm)

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().SetPosition(100,100)
SetRotation((Stage3)arg1, (float)arg2)None :

Set rotation drive

Parameters

arg2 (float) – rotation absolute value. range is +-180(degree). unit is 1(deg)

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Stage3().SetRotation(10.0)
SetRotationRel((Stage3)arg1, (float)arg2)None :

Set relative move rotation axis. unit is 1(deg)

Parameters

arg2 (float) – rotation relative value.

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Stage3().SetRotationRel(10.0)
SetSpeedMode((Stage3)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5)None :

Select motor/piezo mode.

Parameters
  • arg2 (int) – drive mode. 0= motor, 1= piezo

  • arg3 (int) – x-y axis speed. 0= slow, 1= normal, 2= fast

  • arg4 (int) – z axis speed. 0= slow, 1= normal, 2= fast

  • arg5 (int) – tilt-x,y axis speed. 0= slow, 1= normal, 2= fast

Example

>>> TEM3.Stage3().SetSpeedMode(0,0,0,0)
SetSpeedModeEx((Stage3)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5, (int)arg6)None :

Select speed. motor/piezo.

Parameters
  • arg2 (int) – drive mode. 0= motor, 1= piezo

  • arg3 (int) – x-y axis speed. 0= slow, 1= normal, 2= fast

  • arg4 (int) – z axis speed. 0= slow, 1= normal, 2= fast

  • arg5 (int) – tilt-x,y axis speed. 0= slow, 1= normal, 2= fast

  • arg6 (int) – rotation speed. 0= slow, 1= normal, 2= fast

Note

This function work on ARM200F or laterd. only 6-axis compatible.

Example

>>> TEM3.Stage3().SetSpeedModeEx(0,0,0,0,0)
SetTXRel((Stage3)arg1, (float)arg2)None :

Relative tilt around X axis.)

Parameters

arg2 (float) – tilt-x relative value. range is +-90.00.0(degree)

Note

Units may vary depending on the holder.

Example

>>> TEM3.Stage3().SetTXRel(10)
SetTYRel((Stage3)arg1, (float)arg2)None :

Relative tilt around Y axis.

Parameters

arg2 (float) – tilt-y relative value. range is +-90.00.0(degree)

Note

Units may vary depending on the holder.

Example

>>> TEM3.Stage3().SetTYRel(10)
SetTiltXAngle((Stage3)arg1, (float)arg2)None :

Set TiltX axis absolute value.

Parameters

arg2 (float) – TiltX axis absolute value. range is +-90.00(degree)

Note

Units may vary depending on the holder.

Example

>>> TEM3.Stage3().SetTiltXAngle(10)
SetTiltYAngle((Stage3)arg1, (float)arg2)None :

Set TiltY axis absolute value.

Parameters

arg2 (float) – TiltY axis absolute value. range is +-90.00(degree)

Note

Units may vary depending on the holder.

Example

>>> TEM3.Stage3().SetTiltYAngle(10)
SetX((Stage3)arg1, (float)arg2)None :

Set X axis absolute value.

Parameters

arg2 (float) – X axis absolute value.

[Motor] +-100000.0(nm)

[Piezo] +-10000.00(nm)

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().SetX(1000)
SetXRel((Stage3)arg1, (float)arg2)None :

Relative move along X axis.

Parameters

arg2 (float) – X axis relative value.

[Motor] +-100000.0(nm)

[Piezo] +-10000.00(nm)

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().SetXRel(100)
SetY((Stage3)arg1, (float)arg2)None :

Set Y axis absolute value.

Parameters

arg2 (float) – Y axis absolute value.

[Motor] +-100000.0(nm)

[Piezo] +-10000.00(nm)

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().SetY(1000)
SetYRel((Stage3)arg1, (float)arg2)None :

Relative move along Y axis.

Parameters

arg2 (float) – YX axis relative value.

[Motor] +-100000.0(nm)

[Piezo] +-10000.00(nm)

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().SetYRel(100)
SetZ((Stage3)arg1, (float)arg2)None :

Set Z axis absolute value.

Parameters

arg2 (float) – Z axis absolute value. range is +-100000.0(nm)

Note

Units may vary depending on the model.

Example

>>> TEM3.Stage3().SetZ(1000)
SetZRel((Stage3)arg1, (float)arg2)None :

Relative move along Z axis.

Range:+-100000.0(nm)

Parameters

arg2 (float) – Z axis relative value. range is +-100000.0(nm)

Note

This works only for motor drive.

Example

>>> TEM3.Stage3().SetZRel(100)
Setf1OverRate((Stage3)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5, (int)arg6, (int)arg7, (int)arg8)None :

Drive frequency f1 setting.

Parameters
  • arg2 (int) – kind. 0= trackbaul, 1= switch, 2= command

  • arg3 (int) – drive mode. 0= motor, 1= piezo

  • arg4 (int) – x axis f1

  • arg5 (int) – y axis f1

  • arg6 (int) – z axis f1

  • arg7 (int) – tilt-x axis f1

  • arg8 (int) – tilt-y axis f1

Example

>>> TEM3.Stage3().Setf1OverRate(0,0,0,0,0,0,0)
Setf1OverRateTxNum((Stage3)arg1, (int)arg2)None :

Drive frequency f1 setting of TiltX.

Parameters

arg2 (int) – index. 0= 10(/sec), 1= 2(/sec), 2= 1(/sec), 3= 0.5(/sec), 4= 0.25(/sec), 5= 0.1(/sec)

Note

This function only work on Cryo-ARM. Only when electron beam 3D crystallography kit is enabled.

Example

>>> TEM3.Stage3().Setf1OverRateTxNum(2)
Stop((Stage3)arg1)None :

Stop all the drives.

Example

>>> TEM3.Stage3().Stop()
class PyJEM.TEM3.VACUUM3

Bases: Boost.Python.instance

It is a class that can operate the VACUUM. To use it, it is necessary to create an instance.

GetCameraAir((VACUUM3)arg1)int :

Get camera air status.

Returns

state. 0= Not Air, 1= Air

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetCameraAir()
0
GetCameraReady((VACUUM3)arg1)int :

Get camera ready status.

Returns

state. 0= Not ready, 1= Ready

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetCameraReady()
0
GetColumnAir((VACUUM3)arg1)int :

Get column air status.

Returns

state. 0= Not Air, 1= Air

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetColumnAir()
0
GetColumnReady((VACUUM3)arg1)int :

Get column ready status.

Returns

state. 0= Not ready, 1= Ready

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetColumnReady()
0
GetPegInfo((VACUUM3)arg1, (int)arg2)list :

Get the penning gauge information.

Parameters

arg2 (int) – Peg index(0-9).

Returns

(value, state)

value (int): value(0-4095)

status (int): 0= OFF, 1= High, 2= Low, 3= Ready

Example

>>> TEM3.VACUUM3().GetPegInfo(1)
[2000, 3]
GetPigInfo((VACUUM3)arg1, (int)arg2)list :

Get the Pirani gauge information.

Parameters

arg2 (int) – Peg index(0-9).

Returns

(value, state)

value (int): value(0-4095)

status (int): 0= OFF, 1= High, 2= Low, 3= Ready

Example

>>> TEM3.VACUUM3().GetPigInfo(1)
[2000, 3]
GetSpecimenAir((VACUUM3)arg1)int :

Get specimen air status.

Returns

state. 0= Not Air, 1= Air

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetSpecimenAir()
0
GetSpecimenPreEvacStart((VACUUM3)arg1)int :

Get specimen previous evacuation start status.

Returns

state. 0= Not start, 1= Start

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetSpecimenPreEvacStart()
0
GetSpecimenReady((VACUUM3)arg1)int :

Get specimen ready status.

Returns

state. 0= Not ready, 1= Ready

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.VACUUM3().GetSpecimenReady()
0
GetValveStatus((VACUUM3)arg1)list :

Get valve status.

Returns

(count, v1, v2)

count (int): The number of the effective valves.

v1 (int): Bit the information represented in the Open/Close of each valve.

v2 (int): Bit the information represented in the OPEN/CLOSE of each valve.

Example

>>> TEM3.VACUUM3().GetValveStatus()
[1, 0, 0]
SetPegMonitorSw((VACUUM3)arg1, (int)arg2)None :

Penning gauge monitor ON / OFF setting .

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.VACUUM3().SetPegMonitorSw(1)
SetPigMonitorSw((VACUUM3)arg1, (int)arg2)None :

Pirani gauge monitor ON / OFF setting .

Parameters

arg2 (int) – switch. 0= OFF, 1= ON

Example

>>> TEM3.VACUUM3().SetPigMonitorSw(1)
PyJEM.TEM3.connect()bool :

Make a connection with TEM3 service.

Returns

connect status. True= connect, False= disconnect

Example

>>> TEM3.connect()
True
PyJEM.TEM3.isconnect()bool :

Get the connection status with TEM3.

Returns

connect status. True= connect, False= disconnect

Example

>>> TEM3.isconnect()
True