Open source Very Long Baseline Interferometry
OpenVLBI
|
Functions | |
DLL_EXPORT void | vlbi_set_correlation_order (void *ctx, int order) |
Set the correlation order the current OpenVLBI context. More... | |
DLL_EXPORT int | vlbi_get_baselines (void *ctx, vlbi_baseline **baselines) |
List all baselines of the current OpenVLBI context. More... | |
DLL_EXPORT void | vlbi_free_baselines (vlbi_baseline **baselines, int num_baselines) |
Free a vlbi_baseline object previously allocated by vlbi_get_baselines. More... | |
DLL_EXPORT void | vlbi_set_baseline_buffer (void *ctx, const char **nodes, complex_t *buffer, int len) |
Fill the buffer of a single baseline with complex visibility data. This function locks this baeline and the data passed here will overwrite the correlated visibilities from its nodes. More... | |
DLL_EXPORT dsp_stream_p | vlbi_get_baseline_stream (void *ctx, const char **nodes) |
Obtain the baseline dsp_stream structure containing the complex visibility data. More... | |
DLL_EXPORT void | vlbi_unlock_baseline (void *ctx, const char **nodes) |
Unlock the baseline and get visibility from its nodes correlations. More... | |
DLL_EXPORT void | vlbi_set_baseline_stream (void *ctx, const char **nodes, dsp_stream_p stream) |
Set the baseline dsp_stream structure containing the complex visibility data. This function locks this baeline and the data passed here will overwrite the correlated visibilities from its nodes. More... | |
DLL_EXPORT void | vlbi_set_location (void *ctx, double lat, double lon, double el) |
Set the location of the reference station. More... | |
DLL_EXPORT double | vlbi_get_offset (vlbi_context ctx, double J2000Time, const char *node, double Ra, double Dec, double Distance) |
Get the offset of a single node to the farest node to the target. More... | |
DLL_EXPORT void vlbi_free_baselines | ( | vlbi_baseline ** | baselines, |
int | num_baselines | ||
) |
baselines | The baselines array pointer |
num_baselines | The number of elements into the baselines object |
DLL_EXPORT dsp_stream_p vlbi_get_baseline_stream | ( | void * | ctx, |
const char ** | nodes | ||
) |
ctx | The OpenVLBI context |
nodes | The names of the node - the array size must be the same as the correlation order |
DLL_EXPORT int vlbi_get_baselines | ( | void * | ctx, |
vlbi_baseline ** | baselines | ||
) |
ctx | The OpenVLBI context |
baselines | The baselines array pointer to be filled |
DLL_EXPORT double vlbi_get_offset | ( | vlbi_context | ctx, |
double | J2000Time, | ||
const char * | node, | ||
double | Ra, | ||
double | Dec, | ||
double | Distance | ||
) |
ctx | The OpenVLBI context |
J2000Time | The time of the calculation |
node | The name of the node |
Ra | The right ascension coordinate |
Dec | The declination coordinate |
Distance | The distance from the object |
DLL_EXPORT void vlbi_set_baseline_buffer | ( | void * | ctx, |
const char ** | nodes, | ||
complex_t * | buffer, | ||
int | len | ||
) |
ctx | The OpenVLBI context |
nodes | The names of the node - the array size must be the same as the correlation order |
buffer | The buffer with complex complex visibility data |
len | The length of the buffer |
DLL_EXPORT void vlbi_set_baseline_stream | ( | void * | ctx, |
const char ** | nodes, | ||
dsp_stream_p | stream | ||
) |
ctx | The OpenVLBI context |
nodes | The names of the node - the array size must be the same as the correlation order |
stream | The dsp_stream structure pointer containing the visibility data |
DLL_EXPORT void vlbi_set_correlation_order | ( | void * | ctx, |
int | order | ||
) |
ctx | The OpenVLBI context |
order | The correlation order - number of nodes to be correlated into each single baseline |
DLL_EXPORT void vlbi_set_location | ( | void * | ctx, |
double | lat, | ||
double | lon, | ||
double | el | ||
) |
ctx | The OpenVLBI context |
lat | The latitude of the station |
lon | The longitude of the station |
el | The elevation of the station |
DLL_EXPORT void vlbi_unlock_baseline | ( | void * | ctx, |
const char ** | nodes | ||
) |
ctx | The OpenVLBI context |
nodes | The names of the node - the array size must be the same as the correlation order |