Docsity

Anatomy - Multimedia Signal Processing - Lecture Slides, Slides of Electrical Engineering

Partial preview of the text

Download Anatomy - Multimedia Signal Processing - Lecture Slides and more Slides Electrical Engineering in PDF only on Docsity!

Anatomy of an ldasJob

LDAS and E

 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?.

What?

 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 Syntax

ldasJob { [job arguments] } { [job contents] }

Job Contents

ldasJob … { conditionData [conditionData arguments] }

conditionData

 The conditionData instruction is followed by arguments specifying:  Input methods.  Output method.  Algorithms to apply.

Supported Input/Output

 Different input/output locations and formats in various stages of support.  File  Other APIs  Database

Output Arguments

-outputprotocol file:/directory/name.extension -outputformat ilwd -resultname name -resultcomment comment …

Algorithm syntax

-algorithm { [datacondAPI actions] } …

Algorithm section

 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);

Actions

 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

Actions

 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

Actions

 csd(a,b[,arguments])  Correlation spectrum.  Functionality requested by user for E3 run.  Quickly produced by UTB, integrated by ANU and tested by CIT.

Output

 Several possible formats and protocols  Example: ILWD (ASCII) to file:

7.0899404e+03 3.9207999e+ ... ...