Click or drag to resize

SourceFileSignal Class

API Class for creating source file signal.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.Core.SignalsSourceFileSignal

Namespace: ema3d.Api.V25.Core.Signals
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class SourceFileSignal : IHasTime, 
	ISignal

The SourceFileSignal type exposes the following members.

Properties
 NameDescription
Public propertyMatchSource Gets/Sets if time options should match source file.
Public propertyName Name of the Analytic Signal
Public propertyTEnd The simulation time the signal turns off. The default end time matches the simulation end time
Public propertyTStart The simulation time the signal turns on. The default start time matches the simulation start time.
Public propertyTStep The sample rate of the signal. The default step time matches the simulation step time.
Top
Methods
 NameDescription
Public methodAttachTo(AntennaSource) Attaches the signal to the Antenna Source
Public methodAttachTo(PlaneWave) Attaches the signal to the Wave
Public methodStatic memberCreate Create a new Source file Signal object.
Public methodDelete Delete the Source File Signal
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetByDisplayName Get Source file Signals by display name
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
from ema3d.Api.V25.Core.Signals import SourceFileSignal as SourceFileSignal
# Create the signal
_filepath = r"C:/Users/Default User/Source File.dat"
_sf = SourceFileSignal.Create(_filepath)
_sf.MatchSource = True
See Also