














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















E3 study by Philip Charlton (CIT) using LDAS datacondAPI. Correlations and PSDs produced in real- time. Continuous loop submitted batch jobs. Considered channels AS_Q and *_SEIS?.
Follows a simple structure (really!) Usually submitted to managerAPI socket by an enclosing Tcl script.
set sid [ socket ldas.ligo-la.caltech.edu 10001 ] puts $sid $command flush $sid
ldasJob { [job arguments] } { [job contents] }
ldasJob … { conditionData [conditionData arguments] }
The conditionData instruction is followed by arguments specifying: Input methods. Output method. Algorithms to apply.
Different input/output locations and formats in various stages of support. File Other APIs Database
-outputprotocol file:/directory/name.extension -outputformat ilwd -resultname name -resultcomment comment …
-algorithm { [datacondAPI actions] } …
The text following the -algorithm argument consists of datacondAPI actions. Actions are MATLAB-style statements to process the input data into the output data. Syntax is C/MATLAB-like: y = f(x);
psd(input[, arguments]); Power Spectral Density By default, uses Welch windowing MATLAB-compatible User may supply additional parameters length, overlap, window… Built using datacondAPI DFT component
intermediate(,,variable,comment); Adds an ‘intermediate’ value to the output file. The last variable produced by an algorithm is ‘the result’ and automatically output with the name and comment set by -resultname -resultcomment
csd(a,b[,arguments]) Correlation spectrum. Functionality requested by user for E3 run. Quickly produced by UTB, integrated by ANU and tested by CIT.
Several possible formats and protocols Example: ILWD (ASCII) to file: