Open source Very Long Baseline Interferometry
OpenVLBI
|
Functions | |
DLL_EXPORT int | vlbi_get_baselines (void *ctx, vlbi_baseline **baselines) |
List all baselines of the current OpenVLBI context. More... | |
DLL_EXPORT void | vlbi_set_baseline_buffer (void *ctx, const char *node1, const char *node2, fftw_complex *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 *node1, const char *node2) |
Obtain the baseline dsp_stream structure containing the complex visibility data. More... | |
DLL_EXPORT void | vlbi_unlock_baseline (void *ctx, const char *node1, const char *node2) |
Unlock the baseline and get visibility from its nodes correlations. More... | |
DLL_EXPORT void | vlbi_set_baseline_stream (void *ctx, const char *node1, const char *node2, 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 void | vlbi_get_offsets (vlbi_context ctx, double J2000Time, const char *node1, const char *node2, double Ra, double Dec, double *offset1, double *offset2) |
Get the offsets of a single baseline nodes to the farest node to the target. More... | |
DLL_EXPORT dsp_stream_p vlbi_get_baseline_stream | ( | void * | ctx, |
const char * | node1, | ||
const char * | node2 | ||
) |
ctx | The OpenVLBI context |
node1 | The name of the first node |
node2 | The name of the second node |
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 void vlbi_get_offsets | ( | vlbi_context | ctx, |
double | J2000Time, | ||
const char * | node1, | ||
const char * | node2, | ||
double | Ra, | ||
double | Dec, | ||
double * | offset1, | ||
double * | offset2 | ||
) |
ctx | The OpenVLBI context |
J2000Time | The time of the calculation |
node1 | The name of the first node |
node2 | The name of the second node |
Ra | The right ascension coordinate |
Dec | The declination coordinate |
offset1 | The offset calculated for the first node to the farest one |
offset2 | The offset calculated for the second node to the farest one |
DLL_EXPORT void vlbi_set_baseline_buffer | ( | void * | ctx, |
const char * | node1, | ||
const char * | node2, | ||
fftw_complex * | buffer, | ||
int | len | ||
) |
ctx | The OpenVLBI context |
node1 | The name of the first node |
node2 | The name of the second node |
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 * | node1, | ||
const char * | node2, | ||
dsp_stream_p | stream | ||
) |
ctx | The OpenVLBI context |
node1 | The name of the first node |
node2 | The name of the second node |
stream | The dsp_stream structure pointer containing the visibility data |
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 * | node1, | ||
const char * | node2 | ||
) |
ctx | The OpenVLBI context |
node1 | The name of the first node |
node2 | The name of the second node |