Instrument Neutral Distributed Interface INDI  2.0.2
Functions
buffer.c File Reference
#include "dsp.h"
#include <setjmp.h>
#include <signal.h>

Go to the source code of this file.

Functions

void dsp_buffer_shift (dsp_stream_p stream)
 Shift a stream on each dimension. More...
 
void dsp_buffer_removemean (dsp_stream_p stream)
 Subtract mean from stream. More...
 
void dsp_buffer_sub (dsp_stream_p stream, dsp_t *in, int inlen)
 Subtract elements of one stream from another's. More...
 
void dsp_buffer_sum (dsp_stream_p stream, dsp_t *in, int inlen)
 Sum elements of one stream to another's. More...
 
void dsp_buffer_max (dsp_stream_p stream, dsp_t *in, int inlen)
 Subtract elements of one stream from another's. More...
 
void dsp_buffer_min (dsp_stream_p stream, dsp_t *in, int inlen)
 Sum elements of one stream to another's. More...
 
void dsp_buffer_div (dsp_stream_p stream, dsp_t *in, int inlen)
 Divide elements of one stream to another's. More...
 
void dsp_buffer_mul (dsp_stream_p stream, dsp_t *in, int inlen)
 Multiply elements of one stream to another's. More...
 
void dsp_buffer_pow (dsp_stream_p stream, dsp_t *in, int inlen)
 Expose elements of one stream to another's. More...
 
void dsp_buffer_log (dsp_stream_p stream, dsp_t *in, int inlen)
 Logarithm elements of one stream using another's as base. More...
 
void dsp_buffer_1sub (dsp_stream_p stream, dsp_t val)
 Subtract each element of the input stream a value. More...
 
void dsp_buffer_sub1 (dsp_stream_p stream, dsp_t val)
 Subtract a value from elements of the input stream. More...
 
void dsp_buffer_sum1 (dsp_stream_p stream, dsp_t val)
 Sum elements of the input stream to a value. More...
 
void dsp_buffer_1div (dsp_stream_p stream, double val)
 Divide a value to each element of the input stream. More...
 
void dsp_buffer_div1 (dsp_stream_p stream, double val)
 Divide elements of the input stream to a value. More...
 
void dsp_buffer_mul1 (dsp_stream_p stream, double val)
 Multiply elements of the input stream to a value. More...
 
void dsp_buffer_pow1 (dsp_stream_p stream, double val)
 Expose elements of the input stream to the given power. More...
 
void dsp_buffer_log1 (dsp_stream_p stream, double val)
 Logarithm elements of the input stream using the given base. More...
 
void dsp_buffer_median (dsp_stream_p in, int size, int median)
 Median elements of the input stream. More...
 
void dsp_buffer_sigma (dsp_stream_p in, int size)
 Standard deviation of each element of the input stream within the given size. More...
 
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...