CrossCorrelateAntennas([ws, parfile]) | Usage: |
FindPulseDelay([ws, parfile]) | Calculate pulse delay by finding maxima in a trace. |
Task([ws, parfile]) | Base class from which all tasks should be derived. |
Module author: Heino Falcke <h.falcke@astro.ru.nl>
Usage:
Task = trun("CrossCorrelateAntennas", timeseries_data[n_dataset, blocksize], refant=0) -> Task.crosscorr_data (i.e., strength of cross-correlation as a function of time)
To provide only fft data use:
Task = trun("CrossCorrelateAntennas", fft_data[n_dataset, blocksize / 2 + 1], refant=0) -> Task.crosscorr_data (i.e., strength of cross-correlation as a function of time)
Description:
Calculates the cross-correlation of a number of time series data sets with respective to a reference data set.
The data set is a matrix of N equal-length timeseries. If not reference data set is provided, a reference antenna from the input time series matrix is specified (by default = 0, i.e. all data is correlated with the first data set, then the first cross correlation output will actually be an autocorrelation).
Make sure N is even. This is not tested for uneven N.
NB: This has also not yet been tested for NyquistZone 2!
If timeseries_data == None, then one needs to provide fft_data instead and the fft will not be (re-)calculated. Note that the function uses fftw convention!
Input parameters
Output parameters
Calculate pulse delay by finding maxima in a trace.
This may require some additional manipulation to the data to give a meaningfull result, for instance the trace may be the cross correlation signal.
Input parameters
Output parameters