Displaying report 1-1 of 1.
Reports until 14:55, Wednesday 28 January 2015
H1 SUS (ISC)
brett.shapiro@LIGO.ORG - posted 14:55, Wednesday 28 January 2015 (16329)
You can now make damped triple and double Matlab models from the foton file

Like the quad model scripts (LHO 16126), I updated the generate_Triple_Model_Production.m and generate_Double_Model_Production.m functions so that you can specify a foton filter for the top mass damping loops.

The generate scripts is in

.../SusSVN/sus/trunk/Common/MatlabTools/TripleModel_Production

and

.../SusSVN/sus/trunk/Common/MatlabTools/TripleModel_Production

If youhaven't done so in the past week, you will also need to svn up

.../SusSVN/sus/trunk/Common/MatlabTools

since this is where the foton file reading functions are located (imported from the SeiSVN)

You can still specify the usual .mat struct file as before. The generate script looks for the .txt extension to determine if you are sending it a foton file.

 

Here is an example of how to make a model with damping filters read from foton:

hsts_model = generate_Triple_Model_Production(frequency_vector_for_plots, 'hstsopt_metal', [], 0, 1, '/opt/rtcds/lho/h1/chans/H1SUSMC1.txt')

IMPORTANT: The foton file does not know which filter modules are engaged. This information is coded into the function with a variable called medm_engaged_modules, which must be updated at the time of running the script. The script will output to the command line which modules are being used for each filter, and where to change in case you forget. For a variety of reasons I thought it more convenient from a user-point-of-view to have this coded into the function rather than as another input to the function, however this could be modified. This is the same in the quad script.

 

These functions have more instructions commented into their headers.

Just have the single sus scripts to go.

Displaying report 1-1 of 1.