Open source Very Long Baseline Interferometry
OpenVLBI
Functions

Functions

DLL_EXPORT void vlbi_add_node (vlbi_context ctx, dsp_stream_p Stream, const char *name, int geographic_coordinates)
 Add a stream into the current OpenVLBI context. More...
 
DLL_EXPORT void vlbi_copy_node (void *ctx, const char *name, const char *node)
 Copy a node into a new one. More...
 
DLL_EXPORT dsp_stream_p vlbi_get_node (void *ctx, const char *name)
 Get a stream from the current OpenVLBI context. More...
 
DLL_EXPORT int vlbi_has_node (void *ctx, const char *name)
 Determine if a node is present into the current OpenVLBI context. More...
 
DLL_EXPORT void vlbi_del_node (vlbi_context ctx, const char *name)
 Remove a stream from the current OpenVLBI context. More...
 
DLL_EXPORT int vlbi_get_nodes (void *ctx, vlbi_node **nodes)
 List all nodes of the current OpenVLBI context. More...
 
DLL_EXPORT void vlbi_add_node_from_fits (void *ctx, char *filename, const char *name, int geo)
 Add a node from a 2d image fits file. More...
 
DLL_EXPORT void vlbi_add_nodes_from_sdfits (void *ctx, char *filename, const char *name, int geo)
 Add nodes from each row of a single dish fits -SDFITS- file. More...
 
DLL_EXPORT void vlbi_filter_lp_node (void *ctx, const char *name, const char *node, double radians)
 Apply a low pass filter on the node buffer. More...
 
DLL_EXPORT void vlbi_filter_hp_node (void *ctx, const char *name, const char *node, double radians)
 Apply a high pass filter on the node buffer. More...
 
DLL_EXPORT void vlbi_filter_bp_node (void *ctx, const char *name, const char *node, double lo_radians, double hi_radians)
 Apply a band pass filter on the node buffer. More...
 
DLL_EXPORT void vlbi_filter_br_node (void *ctx, const char *name, const char *node, double lo_radians, double hi_radians)
 Apply a band reject filter on the node buffer. More...
 

Detailed Description

Function Documentation

◆ vlbi_add_node()

DLL_EXPORT void vlbi_add_node ( vlbi_context  ctx,
dsp_stream_p  Stream,
const char *  name,
int  geographic_coordinates 
)
Parameters
ctxThe OpenVLBI context
StreamThe OpenDSP stream to add
nameA friendly name of this stream
geographic_coordinatesWhether to use geographic coordinates

◆ vlbi_add_node_from_fits()

DLL_EXPORT void vlbi_add_node_from_fits ( void *  ctx,
char *  filename,
const char *  name,
int  geo 
)
Parameters
ctxThe OpenVLBI context
filenameThe filename of the fits to read
nameThe name of the newly created model
geowhether to consider the file coordinates as geographic or relative to the context station

◆ vlbi_add_nodes_from_sdfits()

DLL_EXPORT void vlbi_add_nodes_from_sdfits ( void *  ctx,
char *  filename,
const char *  name,
int  geo 
)
Parameters
ctxThe OpenVLBI context
filenameThe filename of the sdfits to read
nameThe name of the newly created model
geowhether to consider the file coordinates as geographic or relative to the context station

◆ vlbi_copy_node()

DLL_EXPORT void vlbi_copy_node ( void *  ctx,
const char *  name,
const char *  node 
)
Parameters
ctxThe OpenVLBI context
nameThe node name of the copy
nodeThe name of the node to copy

◆ vlbi_del_node()

DLL_EXPORT void vlbi_del_node ( vlbi_context  ctx,
const char *  name 
)
Parameters
ctxThe OpenVLBI context
nameThe friendly name of the stream to be removed

◆ vlbi_filter_bp_node()

DLL_EXPORT void vlbi_filter_bp_node ( void *  ctx,
const char *  name,
const char *  node,
double  lo_radians,
double  hi_radians 
)
Parameters
ctxThe OpenVLBI context
nameThe name of the filtered new node
nodeThe name of the original node
lo_radiansThe low cut frequency in radians, where PI corresponds to a second
hi_radiansThe hi cut frequency in radians, where PI corresponds to a second

◆ vlbi_filter_br_node()

DLL_EXPORT void vlbi_filter_br_node ( void *  ctx,
const char *  name,
const char *  node,
double  lo_radians,
double  hi_radians 
)
Parameters
ctxThe OpenVLBI context
nameThe name of the filtered new node
nodeThe name of the original node
lo_radiansThe low cut frequency in radians, where PI corresponds to a second
hi_radiansThe hi cut frequency in radians, where PI corresponds to a second

◆ vlbi_filter_hp_node()

DLL_EXPORT void vlbi_filter_hp_node ( void *  ctx,
const char *  name,
const char *  node,
double  radians 
)
Parameters
ctxThe OpenVLBI context
nameThe name of the filtered new node
nodeThe name of the original node
radiansThe cutoff frequency in radians, where PI corresponds to a second

◆ vlbi_filter_lp_node()

DLL_EXPORT void vlbi_filter_lp_node ( void *  ctx,
const char *  name,
const char *  node,
double  radians 
)
Parameters
ctxThe OpenVLBI context
nameThe name of the filtered new node
nodeThe name of the original node
radiansThe cutoff frequency in radians, where PI corresponds to a second

◆ vlbi_get_node()

DLL_EXPORT dsp_stream_p vlbi_get_node ( void *  ctx,
const char *  name 
)
Parameters
ctxThe OpenVLBI context
nameThe name of this stream
Returns
The OpenDSP stream representing this node

◆ vlbi_get_nodes()

DLL_EXPORT int vlbi_get_nodes ( void *  ctx,
vlbi_node **  nodes 
)
Parameters
ctxThe OpenVLBI context
nodesThe nodes array pointer to be filled
Returns
the number of nodes in the current context

◆ vlbi_has_node()

DLL_EXPORT int vlbi_has_node ( void *  ctx,
const char *  name 
)
Parameters
ctxThe OpenVLBI context
nameThe name of the node to check
Returns
Non-zero if the node is present in the passed context