PyJEM.TEM3.__fil

Created on Wed Apr 9 13:14:53 2025

@author: dmaekawa

class PyJEM.TEM3.__fil.Filter3(*args, **kw)

Bases: _DummyTEM3Accessor

GetEnergyShift()

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

Returns:

energy shift value (V)

Return type:

float

Example

>>> TEM3.Filter3().GetEnergyShift()
10
GetEnergyShiftRange()

Get energy shift’s maximum and minimum value.

Returns:

(max, min) tuple containing the range limits:

Field

Description

max

Maximum energy shift value (float)

min

Minimum energy shift value (float)

Return type:

list

Example

>>> TEM3.Filter3().GetEnergyShiftRange()
[3000.0, 0.2]
GetEnergyShiftSw()

Get energy shift status(ON/OFF)

Returns:

Energy shift status.

index

Description

0

OFF

1

ON

Return type:

int

Example

>>> TEM3.Filter3().GetEnergyShiftSw()
0
GetOmegaAutoTune()

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

Return type:

list

Example

>>> TEM3.Filter3().GetOmegaAutoTune()
(0,0,0,0,0,0)
GetSlitPosition()

Get slit status(IN/OUT)

Returns:

Slit position status.

index

Description

0

OUT

1

IN

Return type:

int

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().GetSlitPosition()
0
GetSlitWidth()

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

Returns:

value (eV).

Return type:

float

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().GetSlitWidth()
0
GetSlitWidthRange()

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.

Return type:

list

Example

>>> TEM3.Filter3().GetSlitWidthRange()
[47.0, 0.2]
OmegaAutoTuneExec(sw)

Execute Filter auto tune.

Parameters:

sw (int) –

Auto tune switch status.

index

Description

0

OFF

1

ON

Return type:

None

Example

>>> TEM3.Filter3().OmegaAutoTuneExec(1)
SetEnergyShift(value)

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

Parameters:

value (float) – value (V).

Return type:

None

Example

>>> TEM3.Filter3().SetEnergyShift(10)
SetEnergyShiftRel(value)

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

Parameters:

value (float) – value(V).

Return type:

None

Example

>>> TEM3.Filter3().SetEnergyShiftRel(1)
SetEnergyShiftSw(sw)

Set energy shift switch.

Parameters:

sw (int) –

Energy shift switch status.

index

Description

0

OFF

1

ON

Return type:

None

Example

>>> TEM3.Filter3().SetEnergyShiftSw(1)
SetOmegaAutoTune(method, camera, expvalue, coarse, fine)

Set Filter auto tune setting parameters.

Parameters:
  • method (int) –

    Auto tune method.

    index

    Description

    0

    Coarse + Fine

    1

    Fine

    2

    Coarse

    3

    SuperFine

  • camera (int) – Camera kind.

  • expvalue (float) – Exposure time value.

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

  • fine (float) – Threshold coefficient for fine processing

Return type:

None

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().OmegaAutoTuneExec(1)
SetSlitPosition(pos)

Set the slit IN/OUT.

Parameters:

pos (int) –

Slit position.

index

Description

0

Out

1

In

Return type:

None

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().SetSlitPosition(1)
SetSlitWidth(value)

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

Parameters:

value (float) – value (eV).

Return type:

None

Note

Only omega filter configuration machine

Example

>>> TEM3.Filter3().SetSlitWidth(1)