public class ComplexWaveform extends WaveformImpl
Constructor and Description |
---|
ComplexWaveform(double[] time,
double[] realValue,
double[] imagValue)
Constructs complex waveform by time/real/imag tripples.
|
Modifier and Type | Method and Description |
---|---|
Waveform |
getAmplitude()
Return real waveform which is amplitude of this complex waveform.
|
Waveform |
getImag()
Return real waveform which is imag part of this complex waveform.
|
Waveform |
getPhase()
Return real waveform which is phase of this complex waveform.
|
Waveform |
getReal()
Return real waveform which is real part of this complex waveform.
|
getEvent, getNumEvents
public ComplexWaveform(double[] time, double[] realValue, double[] imagValue)
time
- time arrayrealValue
- array of real partsimagValue
- array of imag partsjava.lang.IllegalArgumentException
- if arrays don't have the same lengthpublic Waveform getReal()
public Waveform getImag()
public Waveform getAmplitude()
public Waveform getPhase()