Instrument Neutral Distributed Interface INDI 2.2.5
dsp_stream_t Struct Reference

Contains a set of information and data relative to a buffer and how to use it. More...

#include <dsp.h>

Public Attributes

char name [DSP_NAME_SIZE]
 Friendly name of the stream.
int is_copy
 Increments by one on the copied stream.
int len
 The buffers length.
int dims
 Number of dimensions of the buffers.
int * sizes
 Sizes of each dimension.
dsp_t * buf
 buffer
dsp_complex dft
 Fourier transform.
void * arg
 Optional argument for the func() callback.
struct dsp_stream_t * parent
 The parent stream.
struct dsp_stream_t ** children
 Children streams.
int child_count
 Children streams count.
dsp_location * location
 Location coordinates pointer, can be extended to the main buffer size as location companion.
double * target
 Target coordinates.
struct timespec starttimeutc
 Time at the beginning of the stream.
double wavelength
 Wavelength observed, used as reference with signal generators or filters.
double focal_ratio
 Focal ratio.
double diameter
 Diameter.
double SNR
 SNR.
int red
 Red pixel (Bayer).
double * pixel_sizes
 Sensor size.
double samplerate
 Sample rate of the buffers.
pthread_t thread
 Thread type for future usage.
dsp_func_t func
 Callback function.
struct dsp_stream_t * magnitude
 Fourier transform magnitude.
struct dsp_stream_t * phase
 Fourier transform phase.
dsp_region * ROI
 Regions of interest for each dimension.
dsp_star * stars
 Stars or objects identified into the buffers - TODO.
int stars_count
 Stars or objects quantity.
dsp_triangle * triangles
 Triangles of stars or objects.
int triangles_count
 Triangles of stars or objects quantity.
dsp_align_info align_info
 Align/scale/rotation settings.
int frame_number
 Frame number (if part of a series).

Detailed Description

Contains a set of information and data relative to a buffer and how to use it.

See also
dsp_stream_new
dsp_stream_add_dim
dsp_stream_del_dim
dsp_stream_alloc_buffer
dsp_stream_copy
dsp_stream_free_buffer
dsp_stream_free

Definition at line 378 of file dsp.h.


The documentation for this struct was generated from the following file: