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 dsp_stream_p vlbi_get_node (void *ctx, const char *name)
 Get a stream from 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...
 

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 OpenVLBI 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_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_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 OpenVLBI 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