Click or drag to resize

EMASettings Class

Static class for configuration of EMA3D Settings.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.CoreEMASettings

Namespace: ema3d.Api.V25.Core
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public static class EMASettings

The EMASettings type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberAutomaticPacking Gets/Sets if the harness should be automatically repacked when modifying.
Public propertyStatic memberBWAWidth Gets/Sets bandwidth averaging width for field probe processing.
Public propertyStatic memberDeconflictLevel Gets/Sets the type of deconfliction to apply when meshing.
Public propertyStatic memberInterpolateSParameters Gets/Sets if S-Parameters should be interpolated when calculating.
Public propertyStatic memberLicenseType Gets/Sets the type of parallel licensing type to use.
Public propertyStatic memberLimitSParameterFrequencies Gets/Sets whether to limit maximum frequency for S-Parameter analysis.
Public propertyStatic memberMaxSParameterFrequency Gets/Sets maximum frequency for S-Parameter analysis.
Public propertyStatic memberPrecision Gets/Sets the solver precision type.
Public propertyStatic memberPreventSleep Gets/Sets if the GUI should block the OS from sleeping while a simulation is running.
Public propertyStatic memberSNPFrequencyCount Gets/Sets how many frequencies to output in *.ts files.
Public propertyStatic memberSParameterFrequencySpacing Gets/Sets how many frequencies to output in *.ts files.
Public propertyStatic memberUseGPUSolver Gets/Sets if the GPU accelerated solver should be used for simulations.
Top
Example
Python
from ema3d.Api.V25.Core import EMASettings as EMASettings
from ema3d.Api.V25.Core import DeconflictLevel as DeconflictLevel
from ema3d.Api.V25.Core import ParallelType as ParallelType
from ema3d.Api.V25.Core import PrecisionType as PrecisionType

EMASettings.AutomaticPacking = False
EMASettings.BWAWidth = 0.1
EMASettings.DeconflictLevel = DeconflictLevel.CableOnly
EMASettings.ParallelType = ParallelType.Pack
EMASettings.Precision = PrecisionType.Double
EMASettings.PreventSleep = True
EMASettings.UseGPUSolver = True
Python
from ema3d.Api.V25.Core import EMASettings as EMASettings
from ema3d.Api.V25.Core import FrequencySpacing as FrequencySpacing

EMASettings.InterpolateSParameters = True
EMASettings.LimitSParameterFrequencies = True
EMASettings.MaxSParameterFrequency = 1e8
EMASettings.SNPFrequencyCount = 10000
EMASettings.SParameterFrequencySpacing = FrequencySpacing.Logarithmic
See Also