CSPropProbeBox

class CSXCAD.CSProperties.CSPropProbeBox

Bases: CSProperties

Probe propery.

Depending on the EM modeling tool there exist different probe types with different meanings.

openEMS probe types:

  • 0 : for voltage probing

  • 1 : for current probing

  • 2 : for E-field probing

  • 3 : for H-field probing

  • 10 : for waveguide voltage mode matching

  • 11 : for waveguide current mode matching

Parameters:
  • p_type – probe type (default is 0)

  • weight – weighting factor (default is 1)

  • frequency – dump in the frequency domain at the given samples (in Hz)

  • mode_function – A mode function (used only with type 3/4 in openEMS)

  • norm_dir – necessary for current probing box with dimension not 2

AddFrequency(freq)
ClearFrequency()
GetFrequency()
GetFrequencyCount()
GetNormalDir()
GetProbeType()
GetWeighting()
SetFrequency(freq)
SetModeFunction(mode_fun)
SetNormalDir(val)
SetProbeType(val)
SetWeighting(val)