Introduction to SIS



The SIS manual is available here.

Getting started



Instructions to install/run SIS on your mac here. SIS can be run remotely on rigel1.ligo.caltech.edu How to.

There is a SIS directory on the 40m SVN (https://nodus.ligo.caltech.edu:30889/svn/trunk/SIS/) which contains some ongoing work e.g. LG33 beams.

To run SIS type sis at the command line. This will open the program and give you a choice of configurations.

Typing e.g. FP will open a simulation of a single Fabry-Perot arm cavity.

Typing lock will run the simulation and lock the cavity.

Typing a question mark at any point will usually give you a help screen.

Things you might want to do



Define a simulation


SIS looks in the current directory for (when looking at a FP cavity) a file called sisDB_FP.mcr.

You can place all simulation parameters in this file. The options are outlined in the manual and can be viewed using the simSpec command.

For example

will return something like

These parameters can also be changed within SIS by typing e.g. ITM.opt.ROC = 2000 inside the simSpec environment.

Lock a cavity


Typing lock at the main screen will run the simulation and lock the cavity. There are two options which you might want to change here.

inputBeam.matchToCavity takes care of mode matching the beam to the cavity by changing the input beam waist and position.

FPcav.matchToInput changes the cavity length to lock the cavity.

Each of these commands can take several values, e.g. for matchToCavity:

These same values apply to matchToInput where thay are used to find the initial guess for the locking algorithm.

Save things


The commands saveField and storeMap save the optical fields and mirror maps in a fairly obvious way. The program sisbin.m allows you to easily load the fields when saved in the default format.

When running in a loop the @ can be used to represent the iteration number (see the example below on sweeping a cavity).

One can also save the PSD of an HR surface using e.g.:

Run simulations in a loop


SIS has the facility to run loops using @RBEG and @REND.

This will run the commands given ten times. The iteration number is stored as iLoop. It will run from zero to nine.

Run lots of commands without typing


You can write SIS commands in a *.in file. They will be executed in sequence just as if they were typed in the terminal.

The file is run by typing @nameOfInputFile.in while inside SIS.

Tilt a mirror


To yaw the ITM write:

To pitch the ITM write:

Where pitch and yaw are angles in radians.

You can also write

Use your own mirror map


If you want to include some measured or theoretical phase map this can be done with the command,

written in your input file or typed within SIS.

Various file formats are accepted, see the manual (linked above).

Quickly do something in the shell


One can do this as follows:

without leaving SIS.

Sweep the cavity length


This example combines many of the things discussed above. You can edit it to sweep e.g. the ROC of a mirror etc. etc. etc.

I have written a @sweepCavity.in file which contains all of the commands I want to run. It looks like this:

You can run it by typing sis < @sweepCavity.in

Anything else ?



If it is easy phone me (JM); if it isn't phone Hiro.

IFO_Modeling/SIS_Introduction (last edited 2013-09-21 02:05:01 by ManasadevithirugnanasambandamATligoDOTorg)