Anatomy of an ldasJob LSC Meeting March 2001 Antony C. Searle ACIGA / ANU LIGO-G010120-00-Z.

Slides:



Advertisements
Similar presentations
Introduction to Programming using Matlab Session 2 P DuffourJan 2008.
Advertisements

Introduction to Matlab Workshop Matthew Johnson, Economics October 17, /13/20151.
M AT L AB Programming: scripts & functions. Scripts It is possible to achieve a lot simply by executing one command at a time on the command line (even.
SPIM and MIPS programming
The Web Warrior Guide to Web Design Technologies
Chapter 7: User-Defined Simple Data Types, Namespaces, and the string Type.
Objectives In this chapter, you will:
Tutorial 6 Working with Web Forms
1 Chapter 3 Programs and Packages. 2 Java Virtual Machine (JVM) Java programs execute on the JVM. The JVM is a virtual rather than a physical machine,
LIG O HW S Introduction to Bicoherence Monitors: BicoViewer & BicoMon Steve Penn (HWS)
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 4: Implementing and Managing Group and Computer Accounts.
Guide To UNIX Using Linux Third Edition
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 4: Implementing and Managing Group and Computer Accounts.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Programming For Nuclear Engineers Lecture 12 MATLAB (3) 1.
1 Chapter One A First Program Using C#. 2 Objectives Learn about programming tasks Learn object-oriented programming concepts Learn about the C# programming.
A First Program Using C#
M-files While commands can be entered directly to the command window, MATLAB also allows you to put commands in text files called M- files. M-files are.
Topics Introduction Hardware and Software How Computers Store Data
Fortran 1- Basics Chapters 1-2 in your Fortran book.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Copyright © The McGraw-Hill Companies, Inc. Introduction to MATLAB for Engineers, Third Edition William J. Palm III Chapter 1 An Overview of MATLAB.
Matlab Basics Tutorial. Vectors Let's start off by creating something simple, like a vector. Enter each element of the vector (separated by a space) between.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2010.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
Porto, 4-5 March, 1999 The COST250 Speaker Recognition Reference System H. Melin, A.M. Ariyaeeinia, M. Falcone.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Chapter 6 Review: User Defined Functions Introduction to MATLAB 7 Engineering 161.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 4: Implementing and Managing Group and Computer Accounts.
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
XP Tutorial 8 Adding Interactivity with ActionScript.
LIGO-G Z 3/15/01Penn State1 The datacondAPI Sam Finn, for the datacondAPI Team: W. Anderson, K. Blackburn, P. Charlton, P. Ehrens, A. Gonzalez,
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
Introduction to MATLAB 7 Engineering 161 Engineering Practices II Joe Mixsell Spring 2012.
NSF Review, 18 Nov 2003 Peter Shawhan (LIGO/Caltech)1 How to Develop a LIGO Search Peter Shawhan (LIGO / Caltech) NSF Review November 18, 2003 LIGO-G E.
Introduction to MATLAB Section2, statistics course Third year biomedical dept. Dina El Kholy, Ahmed Dalal.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
Extending MATLAB Write your own scripts and/or functions Scripts and functions are plain text files with extension.m (m-files) To execute commands contained.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. A Concise Introduction to MATLAB ® William J. Palm III.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
“Moh’d Sami” AshhabSummer 2008University of Jordan MATLAB By (Mohammed Sami) Ashhab University of Jordan Summer 2008.
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
Structured Computer Programming EE 201 Introduction to MATLAB 7 for Engineers بسم الله الرحمن الرحيم King Abdulaziz University College of Engineering Dept.
Topics Introduction Hardware and Software How Computers Store Data
Objectives In this chapter, you will:
Enumeration Type Data type: a set of values with a set of operations on them Enumeration type: a simple data type created by the programmer To define an.
Matlab Training Session 4: Control, Flow and Functions
DBW - PHP DBW2017.
Introduction to MATLAB for Engineers, Third Edition
Arrays and files BIS1523 – Lecture 15.
PHP Introduction.
INTRODUCTION TO BASIC MATLAB
MATLAB DENC 2533 ECADD LAB 9.
(Mohammed Sami) Ashhab
User Defined Functions
Matlab review Matlab is a numerical analysis system
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Topics Introduction Hardware and Software How Computers Store Data
PHP.
Objectives In this chapter, you will:
Matlab Basics Tutorial
Programming The ideal style of programming is Structured or
Presentation transcript:

Anatomy of an ldasJob LSC Meeting March 2001 Antony C. Searle ACIGA / ANU LIGO-G Z

LDAS and E3 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?.

An ldasJob ldasJob { -name name -password password - } { conditionData -inputprotocol file:/directory/name.extension -inputformat ilwd -returnprotocol file:/directory/name.extension -returnformat ilwd -result name correlation -result comment {correlation of input channels} -aliases { alpha = channel Alpha:component; beta = channel Beta:component; } -algorithms { psd_alpha = psd(alpha); intermediate(,,psd_alpha,power spectral density of alpha); psd_beta = psd(beta); intermediate(,,psd_beta,power spectral density of beta); alpha_sub_beta = sub(alpha,beta); psd_alpha_sub_beta = psd(alpha_sub_beta); intermediate(,,psd_alpha_sub_beta, power spectral density of difference); csd(alpha,beta); }

What? Follows a simple structure (really!) Usually submitted to managerAPI socket by an enclosing Tcl script. set sid [ socket ldas.ligo-la.caltech.edu ] puts $sid $command flush $sid

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

Job Arguments ldasJob { -name [account name] -password [account password] - [notification ] } { …

Job Contents ldasJob … { conditionData [conditionData arguments] }

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

Input Arguments conditionData -inputprotocol file:/directory/name.extension -inputformat ilwd …

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 …

Aliases for Algorithm Native names of data typically long and unwieldy. Aliases allow convenient short names. … -aliases { alpha = HoRrIbLy_MaNgLeD_Alpha; beta = HoRrIbLy_MaNgLeD_Beta; } …

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

Algorithm example -algorithms { psd_alpha = psd(alpha); intermediate(,, psd_alpha, power spectral density of alpha); psd_beta = psd(beta); intermediate(,, psd_beta, power spectral density of beta); alpha_sub_beta = sub(alpha, beta); psd_alpha_sub_beta = psd(alpha_sub_beta); intermediate(,, psd_alpha_sub_beta, power spectral density of difference); csd(alpha, beta); }

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 sub(a,b) conditionData does not support ‘natural syntax’ arithmetic (+,-,/,*). Introduces more complexity to parser Instead use add, sub, div, mul. Many other trivial functions: sqrt, exp, sin, cos, real, imag, conj…

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: e e

E3 Investigation ldasJobs like the above launched by a looping script to compute power spectra of IFO and seismometer channels, and correlations between them, throughout E3 run. Successfully stored in the database. Plotted for examination…

Summary ldasJob used in E3 to produce spectra and correlations. Simple syntax of account and I/O arguments followed by a block of MATLAB-like computation. Functionality to be discussed and extended…