LBA

Software /
MATLAB UtilitiesThis is a listing of various helpful MATLAB scripts and functions. Time Series AnalysisThe Discrete Correlation Function  This function computes the auto or crosscorrelation of irregularly sampled time series (Krolik & Lepp (1988)). The Discrete Structure Function  This calculates the structure function of an irregularly sampled time series. Also useful for estimating a time delay between two time series as it calculates the RMS difference as a function of lag. Scintillation  Annual Cycles, Time Delays, etcCalculates the time delay between the scintillation patterns observed at two telescopes. Now includes the effects of anisotropic scintles. Coordinate calculatorsSome of these scripts make use of functions written by Eran Ofek. He has very kindly released a package of MATLAB ephemeris scripts which can be downloaded from http://wiseobs.tau.ac.il/~eran/MATLAB/Ephem.html Azimuth/Elevation calculator using mjd time data. Azimuth/Elevation calculator using UT time data. Transforms Azimuth/Elevation coordinates to X/Y. Plotting functions2D Line plot with colour mapped by a third variable. Allows errorbars to be plotted in X and Y. The default Designed for use in examining spectral line VLBI spot maps. This function takes a 4D data set (RA, Dec, Velocity & Amplitude), makes a scatterplot of the first two dimensions (RA, Dec). Regions of the image can be selected to view the spectrum. 