public interface Signal
GraphType
,
Arithmetic
,
Spectrum
,
ComplexSpectrum
,
ComplexSampleSet
,
Document
Modifier and Type | Method and Description |
---|---|
double |
getAcquisitionTime()
Returns the acquisition time as a double giving the number of seconds since the reference time, which should be
the same reference time as for the method setAcquisitionTime.
|
double |
getSamplingRate()
Returns the sampling frequency of the data.
|
void |
setAcquisitionTime(double t)
Sets the acquisition time to the given value, in seconds.
|
void |
setSamplingRate(double r)
Sets the sampling rate of the signal in samples per second (Hz).
|
double getSamplingRate()
void setSamplingRate(double r)
r
- The sampling rate in Hzdouble getAcquisitionTime()
void setAcquisitionTime(double t)
t
- The time of acquisition in seconds since the reference time