PyJEM.TEM3.__scan

Created on Wed Apr 9 13:30:47 2025

@author: dmaekawa

class PyJEM.TEM3.__scan.Scan3(*args, **kw)

Bases: _DummyTEM3Accessor

GetExtScanMode()

Get external scan mode.

Returns:

External scan mode.

index

Description

0

OFF

1

ON

Return type:

int

Example

>>> TEM3.Scan3().GetExtScanMode()
0
GetNoiseCancellerVal()

Get noise canceller value.

Note

This works for ARM200F and ARM300F.

Example

>>> TEM3.Scan3().GetNoiseCancellerVal()
0
Return type:

int

GetRotationAngle()

Get Scan Rotation angle.

Returns:

rotation angle. 0-359 (degree)

Return type:

int

Example

>>> TEM3.Scan3().GetRotationAngle()
90
GetRotationAngleEx()

Get scan rotation angle.

Returns:

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

Return type:

float

Example

>>> TEM3.Scan3().GetRotationAngleEx()
90.0
SetExtScanMode(sw)

Set external scan mode.

Parameters:

sw (int) –

External scan mode.

index

Description

0

OFF

1

ON

Return type:

None

Example

>>> TEM3.Scan3().SetExtScanMode(1)
SetRotationAngle(angle)

Set scan rotation angle.

Parameters:

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

Return type:

None

Example

>>> TEM3.Scan3().SetRotationAngle(90)
SetRotationAngleEx(angle)

Set scan rotation angle.

Parameters:

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

Return type:

None

Example

>>> TEM3.Scan3().SetRotationAngleEx(85.5)
0
SetScanDataAbs(kind, value)

Set scan data value.

Parameters:
  • kind (int) –

    Scan data type.

    index

    Description

    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

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

Return type:

None

Note

This function work on ARM200F or ARM300F

Example

>>> TEM3.Scan3().GetNoiseCancellerVal()
0