Open source Very Long Baseline Interferometry
OpenVLBI
Loading...
Searching...
No Matches

Classes

struct  hypercomplex_t
 Hypercomplex type. More...
 

Macros

#define DSP_MAX_STARS   200
 max stars used in alignment
 
#define dsp_t_max   255
 max value in file conversion
 
#define dsp_t_min   -dsp_t_max
 min value in file conversion
 
#define DSP_NAME_SIZE   128
 Size of strings.
 
#define Min(a, b)
 if min() is not present you can use this one
 
#define Max(a, b)
 if max() is not present you can use this one
 
#define Log(a, b)
 Logarithm of a with arbitrary base b.
 
#define DSP_ALIGN_TRANSLATED   1
 The stream is translated by the reference.
 
#define DSP_ALIGN_SCALED   2
 The stream is scaled by the reference.
 
#define DSP_ALIGN_ROTATED   4
 The stream is rotated by the reference.
 
#define DSP_ALIGN_NO_MATCH   8
 No matches were found during comparison.
 

Typedefs

typedef double dsp_t
 libDSP base type
 
typedef double complex_t[2]
 complex type
 
typedef struct hypercomplex_t hypercomplex
 Hypercomplex type.
 

Functions

DLL_EXPORT unsigned long int dsp_max_threads (unsigned long value)
 get/set the maximum number of threads allowed
 
DLL_EXPORT void dsp_set_debug_level (int value)
 set the debug level
 
DLL_EXPORT int dsp_get_debug_level ()
 get the debug level
 
DLL_EXPORT void dsp_set_app_name (char *name)
 set the application name
 
DLL_EXPORT char * dsp_get_app_name ()
 get the application name
 
DLL_EXPORT void dsp_set_stdout (FILE *f)
 set the output log streeam
 
DLL_EXPORT void dsp_set_stderr (FILE *f)
 set the error log streeam
 
DLL_EXPORT void dsp_print (int x, char *str)
 log a message to the error or output streams
 

Detailed Description

Function Documentation

◆ dsp_get_app_name()

DLL_EXPORT char * dsp_get_app_name ( )
Returns
The current application name printed on logs

◆ dsp_get_debug_level()

DLL_EXPORT int dsp_get_debug_level ( )
Returns
The current debug level

◆ dsp_max_threads()

DLL_EXPORT unsigned long int dsp_max_threads ( unsigned long value)
Parameters
valueif greater than 1, set a maximum number of threads allowed
Returns
The current or new number of threads allowed during runtime

◆ dsp_print()

DLL_EXPORT void dsp_print ( int x,
char * str )
Parameters
xThe log level
strThe string to print

◆ dsp_set_app_name()

DLL_EXPORT void dsp_set_app_name ( char * name)
Parameters
namethe application name to be printed on logs

◆ dsp_set_debug_level()

DLL_EXPORT void dsp_set_debug_level ( int value)
Parameters
valuethe debug level

◆ dsp_set_stderr()

DLL_EXPORT void dsp_set_stderr ( FILE * f)
Parameters
fThe FILE stream pointer to set as standard error

◆ dsp_set_stdout()

DLL_EXPORT void dsp_set_stdout ( FILE * f)
Parameters
fThe FILE stream pointer to set as standard output