Displaying report 1-1 of 1.
Reports until 08:32, Monday 15 June 2015
H1 SUS (ISC)
brett.shapiro@LIGO.ORG - posted 08:32, Monday 15 June 2015 (19144)
More quad Matlab model updates

This is a minor update to those discussed in log 18987. In addition to importing live damping filters from the sites into the model (with a 5 min delay), you can now request damping filters from a specific gps time. So svn up ../SusSVN/sus/trunk/QUAD/Common/MatlabTools/QuadModel_Production.

The requirements are the same for reading live damping filters: you must have nds2 and various corners of the noise budget svn on your computer. See the notes at the bottom of this log.

The model script, generate_QUAD_Model_Production, has instructions on how to run the model with all the various features. An example of generating a model with damping filters from a specific gps time is show here:

quadModel = generate_QUAD_Model_Production(frequency_vector,'h1etmy',[],0,true,'gps1118413940h1etmy',0,0,true,8);

* frequency_vector is some frequency vector you specify.

* 'h1etmy' is the customized H1 ETMY parameter file ('quadopt_fiber' is the general quad file). All other quads have parameter files now too, but h1etmy is the only unique one at this point.

* true (the first one) says you want damping

* 'gps1118413940h1etmy' says you want the damping filters from H1 ETMY that were running at gps time 1118413940. The 'gps' prefix is what triggers the flag to read from the given gps time.

* true (the second one) says you want violin modes

* 8 says you want the first 8 violin modes in the model (2 is the default if not specified)

I am not sure how this does foton file version control when reading the filters. It claims it is loading the foton file from the given gps time, but for all I know it is actually loading the current foton file and simply displaying the gps time you gave it. One of the noise budget experts may know more about this (the site filter reading code is adapted from the noise budget stuff, courtesy of Chris Wipf).

In general, let me know if any of these new feature do not work properly, or should be modified in any way. They have been tested on my laptop, but there could be something I have missed.

The generate script has instructions for setting up your computer to get the running damping filters from the sites (either live or from a gps time). This text is copied here:

> Follow noise budget SVN checkout instructions here

https://awiki.ligo-wa.caltech.edu/aLIGO/NoiseBudget

Checkout the following addpath paths:

svnDir = '../NbSVN/aligonoisebudget/trunk/'   (the '..' must be the same as for the SusSVN, e.g. /ligo/svncommon/)    

addpath(genpath([svnDir 'Externals/SimulinkNb/']))

addpath([svnDir 'Common/Utils/NoiseModel/'])

addpath([svnDir 'Common/Utils/'])

> Follow NDS2 install instructions here

https://wiki.ligo.org/viewauth/RemoteAccess

Matlab should be pointed to this version of liveparts.m:

../NbSVN/aligonoisebudget/trunk/Externals/SimulinkNb/SimulinkNb/liveParts.m

Displaying report 1-1 of 1.