|
Open source Very Long Baseline Interferometry
OpenVLBI
|
Macros | |
| #define | dsp_buffer_stretch(buf, len, _mn, _mx) |
| Stretch minimum and maximum values of the input stream. More... | |
| #define | dsp_buffer_set(buf, len, _val) |
| Fill the buffer with the passed value. More... | |
| #define | dsp_buffer_normalize(buf, len, mn, mx) |
| Normalize the input stream to the minimum and maximum values. More... | |
| #define | dsp_buffer_reverse(buf, len) |
| Reverse the order of the buffer elements. More... | |
| #define | dsp_buffer_swap(in, len) |
| Change the in buffer elements endianness. More... | |
| #define | dsp_buffer_copy(in, out, len) |
| Fill the output buffer with the values of the elements of the input stream by casting them to the output buffer element type. More... | |
| #define | dsp_buffer_copy_stepping(in, out, inlen, outlen, instep, outstep) |
| Fill the output buffer with the values of the elements of the input stream by casting them to the output buffer element type. More... | |
Functions | |
| DLL_EXPORT void | dsp_buffer_shift (dsp_stream_p stream) |
| Shift a stream on each dimension. More... | |
| DLL_EXPORT void | dsp_buffer_removemean (dsp_stream_p stream) |
| Subtract mean from stream. More... | |
| DLL_EXPORT void | dsp_buffer_max (dsp_stream_p stream, dsp_t *in, int len) |
| Subtract elements of one stream from another's. More... | |
| DLL_EXPORT void | dsp_buffer_min (dsp_stream_p stream, dsp_t *in, int len) |
| Sum elements of one stream to another's. More... | |
| DLL_EXPORT void | dsp_buffer_sub (dsp_stream_p stream, dsp_t *in, int len) |
| Subtract elements of one stream from another's. More... | |
| DLL_EXPORT void | dsp_buffer_sum (dsp_stream_p stream, dsp_t *in, int len) |
| Sum elements of one stream to another's. More... | |
| DLL_EXPORT void | dsp_buffer_div (dsp_stream_p stream, dsp_t *in, int len) |
| Divide elements of one stream to another's. More... | |
| DLL_EXPORT void | dsp_buffer_mul (dsp_stream_p stream, dsp_t *in, int len) |
| Multiply elements of one stream to another's. More... | |
| DLL_EXPORT void | dsp_buffer_pow (dsp_stream_p stream, dsp_t *in, int len) |
| Expose elements of one stream to another's. More... | |
| DLL_EXPORT void | dsp_buffer_log (dsp_stream_p stream, dsp_t *in, int len) |
| Logarithm elements of one stream using another's as base. More... | |
| DLL_EXPORT void | dsp_buffer_sub1 (dsp_stream_p stream, dsp_t val) |
| Subtract a value from elements of the input stream. More... | |
| DLL_EXPORT void | dsp_buffer_1sub (dsp_stream_p stream, dsp_t val) |
| Subtract each element of the input stream a value. More... | |
| DLL_EXPORT void | dsp_buffer_sum1 (dsp_stream_p stream, dsp_t val) |
| Sum elements of the input stream to a value. More... | |
| DLL_EXPORT void | dsp_buffer_div1 (dsp_stream_p stream, double val) |
| Divide elements of the input stream to a value. More... | |
| DLL_EXPORT void | dsp_buffer_1div (dsp_stream_p stream, double val) |
| Divide a value to each element of the input stream. More... | |
| DLL_EXPORT void | dsp_buffer_mul1 (dsp_stream_p stream, double val) |
| Multiply elements of the input stream to a value. More... | |
| DLL_EXPORT void | dsp_buffer_pow1 (dsp_stream_p stream, double val) |
| Expose elements of the input stream to the given power. More... | |
| DLL_EXPORT void | dsp_buffer_log1 (dsp_stream_p stream, double val) |
| Logarithm elements of the input stream using the given base. More... | |
| DLL_EXPORT void | dsp_buffer_median (dsp_stream_p stream, int size, int median) |
| Median elements of the input stream. More... | |
| DLL_EXPORT void | dsp_buffer_sigma (dsp_stream_p stream, int size) |
| Standard deviation of each element of the input stream within the given size. More... | |
| DLL_EXPORT void | dsp_buffer_deviate (dsp_stream_p stream, dsp_t *deviation, dsp_t mindeviation, dsp_t maxdeviation) |
| Deviate forward the first input stream using the second stream as indexing reference. More... | |
| #define dsp_buffer_copy | ( | in, | |
| out, | |||
| len | |||
| ) |
| in | the input stream. |
| out | the output stream. |
| len | the length of the first input stream. |
| #define dsp_buffer_copy_stepping | ( | in, | |
| out, | |||
| inlen, | |||
| outlen, | |||
| instep, | |||
| outstep | |||
| ) |
| in | the input stream. |
| out | the output stream. |
| inlen | the length of the input stream. |
| outlen | the length of the output stream. |
| instep | copy each instep elements of in into each outstep elements of out. |
| outstep | copy each instep elements of in into each outstep elements of out. |
| #define dsp_buffer_normalize | ( | buf, | |
| len, | |||
| mn, | |||
| mx | |||
| ) |
| #define dsp_buffer_reverse | ( | buf, | |
| len | |||
| ) |
| buf | the inout stream. |
| len | the length of the input stream. |
| #define dsp_buffer_set | ( | buf, | |
| len, | |||
| _val | |||
| ) |
| buf | the input buffer |
| len | the length in elements of the buffer. |
| _val | the desired value. |
| #define dsp_buffer_stretch | ( | buf, | |
| len, | |||
| _mn, | |||
| _mx | |||
| ) |
| buf | the input buffer |
| len | the length in elements of the buffer. |
| _mn | the desired minimum value. |
| _mx | the desired maximum value. |
| #define dsp_buffer_swap | ( | in, | |
| len | |||
| ) |
| in | the inout stream. |
| len | the length of the input stream. |
| DLL_EXPORT void dsp_buffer_1div | ( | dsp_stream_p | stream, |
| double | val | ||
| ) |
| stream | the stream on which execute |
| val | the nominator. |
| DLL_EXPORT void dsp_buffer_1sub | ( | dsp_stream_p | stream, |
| dsp_t | val | ||
| ) |
| stream | the stream on which execute |
| val | the value to be subtracted. |
| DLL_EXPORT void dsp_buffer_deviate | ( | dsp_stream_p | stream, |
| dsp_t * | deviation, | ||
| dsp_t | mindeviation, | ||
| dsp_t | maxdeviation | ||
| ) |
| stream | the stream on which execute |
| deviation | the stream containing the deviation buffer |
| mindeviation | the deviation at 0. |
| maxdeviation | the deviation at 1. |
| DLL_EXPORT void dsp_buffer_div | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_div1 | ( | dsp_stream_p | stream, |
| double | val | ||
| ) |
| stream | the stream on which execute |
| val | the denominator. |
| DLL_EXPORT void dsp_buffer_log | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_log1 | ( | dsp_stream_p | stream, |
| double | val | ||
| ) |
| stream | the stream on which execute |
| val | the logarithmic base. |
| DLL_EXPORT void dsp_buffer_max | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_median | ( | dsp_stream_p | stream, |
| int | size, | ||
| int | median | ||
| ) |
| stream | the stream on which execute |
| size | the length of the median. |
| median | the location of the median value. |
| DLL_EXPORT void dsp_buffer_min | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_mul | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_mul1 | ( | dsp_stream_p | stream, |
| double | val | ||
| ) |
| stream | the stream on which execute |
| val | the value used for this operation. |
| DLL_EXPORT void dsp_buffer_pow | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_pow1 | ( | dsp_stream_p | stream, |
| double | val | ||
| ) |
| stream | the stream on which execute |
| val | the nth power to expose each element. |
| DLL_EXPORT void dsp_buffer_removemean | ( | dsp_stream_p | stream | ) |
| stream | the stream on which execute |
| DLL_EXPORT void dsp_buffer_shift | ( | dsp_stream_p | stream | ) |
| stream | the input stream. |
| DLL_EXPORT void dsp_buffer_sigma | ( | dsp_stream_p | stream, |
| int | size | ||
| ) |
| stream | the stream on which execute |
| size | the reference size. |
| DLL_EXPORT void dsp_buffer_sub | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_sub1 | ( | dsp_stream_p | stream, |
| dsp_t | val | ||
| ) |
| stream | the stream on which execute |
| val | the value to be subtracted. |
| DLL_EXPORT void dsp_buffer_sum | ( | dsp_stream_p | stream, |
| dsp_t * | in, | ||
| int | len | ||
| ) |
| stream | the stream on which execute |
| in | the buffer operand. |
| len | the length of the buffer |
| DLL_EXPORT void dsp_buffer_sum1 | ( | dsp_stream_p | stream, |
| dsp_t | val | ||
| ) |
| stream | the stream on which execute |
| val | the value used for this operation. |
1.8.17