Package signal-processing
SLSignalComplex #sleela 2.5 (lib/signal-processing/SLSignalComplex.sleela)
SLSignalComplex class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
re | double re | No description in source. |
im | double im | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(double realPart, double imaginaryPart) | No description in source. |
finite | boolean finite() | No description in source. |
magnitude | double magnitude() | No description in source. |
SLSignalComplexSample #sleela 2.5 (lib/signal-processing/SLSignalComplexSample.sleela)
SLSignalComplexSample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
re | double re | No description in source. |
im | double im | No description in source. |
previous | SLSignalComplexSample previous | No description in source. |
next | SLSignalComplexSample next | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(double realPart, double imaginaryPart) | No description in source. |
SLSignalComplexSeries #sleela 2.5 (lib/signal-processing/SLSignalComplexSeries.sleela)
SLSignalComplexSeries class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
head | SLSignalComplexSample head | No description in source. |
tail | SLSignalComplexSample tail | No description in source. |
count | int count | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
clear | void clear() | No description in source. |
size | int size() | No description in source. |
empty | boolean empty() | No description in source. |
appendParts | boolean appendParts(double realPart, double imaginaryPart) | No description in source. |
appendValue | boolean appendValue(SLSignalComplex value) | No description in source. |
sampleAt | SLSignalComplexSample sampleAt(int index) | No description in source. |
valuesFinite | boolean valuesFinite() | No description in source. |
appendSeries | boolean appendSeries(SLSignalComplexSeries source) | No description in source. |
cloneSeries | SLSignalComplexSeries cloneSeries() | No description in source. |
copyValuesFrom | boolean copyValuesFrom(SLSignalComplexSeries source) | No description in source. |
SLSignalDFT #sleela 2.5 (lib/signal-processing/SLSignalDFT.sleela)
SLSignalDFT class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
transform | int transform(SLSignalComplexSeries input, SLSignalComplexSeries output, | No description in source. |
forward | int forward(SLSignalComplexSeries input, SLSignalComplexSeries output) | No description in source. |
inverse | int inverse(SLSignalComplexSeries input, SLSignalComplexSeries output) | No description in source. |
SLSignalFFT #sleela 2.5 (lib/signal-processing/SLSignalFFT.sleela)
SLSignalFFT class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
isPowerOfTwo | boolean isPowerOfTwo(int length) | No description in source. |
transform | int transform(SLSignalComplexSeries data, boolean inverse) | No description in source. |
forward | int forward(SLSignalComplexSeries data) | No description in source. |
inverse | int inverse(SLSignalComplexSeries data) | No description in source. |
recurse | SLSignalComplexSeries recurse(SLSignalComplexSeries input, boolean inverse) | No description in source. |
SLSignalFilters #sleela 2.5 (lib/signal-processing/SLSignalFilters.sleela)
SLSignalFilters class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
movingAverage | int movingAverage(SLSignalSeries input, int window, SLSignalSeries output) | No description in source. |
convolve | int convolve(SLSignalSeries input, SLSignalSeries kernel, SLSignalSeries output) | No description in source. |
hannWindow | int hannWindow(int length, SLSignalSeries output) | No description in source. |
SLSignalMagnitudeSpectrum #sleela 2.5 (lib/signal-processing/SLSignalMagnitudeSpectrum.sleela)
SLSignalMagnitudeSpectrum class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
compute | int compute(SLSignalComplexSeries input, SLSignalSeries output) | No description in source. |
SLSignalProcessing #sleela 2.5 (lib/signal-processing/SLSignalProcessing.sleela)
SLSignalProcessing class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
version | String version() | No description in source. |
statusText | String statusText(int code) | No description in source. |
mean | int mean(SLSignalSeries input, SLSignalScalar output) | No description in source. |
rms | int rms(SLSignalSeries input, SLSignalScalar output) | No description in source. |
movingAverage | int movingAverage(SLSignalSeries input, int window, SLSignalSeries output) | No description in source. |
convolve | int convolve(SLSignalSeries input, SLSignalSeries kernel, SLSignalSeries output) | No description in source. |
hannWindow | int hannWindow(int length, SLSignalSeries output) | No description in source. |
dft | int dft(SLSignalComplexSeries input, SLSignalComplexSeries output, boolean inverse) | No description in source. |
fft | int fft(SLSignalComplexSeries data, boolean inverse) | No description in source. |
magnitudeSpectrum | int magnitudeSpectrum(SLSignalComplexSeries input, SLSignalSeries output) | No description in source. |
SLSignalProcessingDemo #sleela 2.5 (lib/signal-processing/example/SLSignalProcessingDemo.sleela)
SLSignalProcessingDemo class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
printSeries | void printSeries(String label, SLSignalSeries samples) | No description in source. |
main | void main() | No description in source. |
SLSignalProcessingSmoke #sleela 2.5 (lib/signal-processing/tests/SLSignalProcessingSmoke.sleela)
SLSignalProcessingSmoke class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
check | void check(String name, boolean passed) | No description in source. |
near | void near(String name, double actual, double expected, double tolerance) | No description in source. |
main | void main() | No description in source. |
SLSignalProcessingStatus #sleela 2.5 (lib/signal-processing/SLSignalProcessingStatus.sleela)
SLSignalProcessingStatus class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
OK | static final int OK = 0 | No description in source. |
ERR_INVALID | static final int ERR_INVALID = -1 | No description in source. |
ERR_CAPACITY | static final int ERR_CAPACITY = -2 | No description in source. |
ERR_ALLOC | static final int ERR_ALLOC = -3 | No description in source. |
ERR_SIZE | static final int ERR_SIZE = -4 | No description in source. |
ERR_NUMERIC | static final int ERR_NUMERIC = -5 | No description in source. |
VERSION | static final String VERSION = "1.0.0" | No description in source. |
MAX_FINITE | static final double MAX_FINITE = 1.7976931348623157E308 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
version | static String version() | No description in source. |
text | static String text(int code) | No description in source. |
isFinite | static boolean isFinite(double value) | NaN is unequal to itself; infinities exceed the largest finite double. |
SLSignalSample #sleela 2.5 (lib/signal-processing/SLSignalSample.sleela)
SLSignalSample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
value | double value | No description in source. |
previous | SLSignalSample previous | No description in source. |
next | SLSignalSample next | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(double sampleValue) | No description in source. |
SLSignalScalar #sleela 2.5 (lib/signal-processing/SLSignalScalar.sleela)
SLSignalScalar class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
value | double value | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
set | void set(double nextValue) | No description in source. |
get | double get() | No description in source. |
SLSignalSeries #sleela 2.5 (lib/signal-processing/SLSignalSeries.sleela)
SLSignalSeries class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
head | SLSignalSample head | No description in source. |
tail | SLSignalSample tail | No description in source. |
count | int count | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
clear | void clear() | No description in source. |
size | int size() | No description in source. |
empty | boolean empty() | No description in source. |
append | boolean append(double value) | No description in source. |
sampleAt | SLSignalSample sampleAt(int index) | No description in source. |
valuesFinite | boolean valuesFinite() | No description in source. |
appendSeries | boolean appendSeries(SLSignalSeries source) | No description in source. |
SLSignalStatistics #sleela 2.5 (lib/signal-processing/SLSignalStatistics.sleela)
SLSignalStatistics class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
mean | int mean(SLSignalSeries input, SLSignalScalar result) | No description in source. |
rms | int rms(SLSignalSeries input, SLSignalScalar result) | No description in source. |