Differences between revisions 5 and 11 (spanning 6 versions)
Revision 5 as of 2017-02-09 00:56:59
Size: 1982
Comment: Added more on how to get python notebooks.
Revision 11 as of 2017-02-16 00:26:22
Size: 2211
Comment: Fixed wrong bracket in link
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
If you have second factor authentication or want to be a pro use SSH (you will need to set up a [[https://help.github.com/articles/connecting-to-github-with-ssh/|public private key pair]] If you have second factor authentication or want to be a pro use SSH (you will need to set up a [[https://help.github.com/articles/connecting-to-github-with-ssh/|public private key pair]])
Line 23: Line 23:
There is no cmdline package install/management (i.e. apt-get,brew,macports), you need {{http://www.gwoptics.org/finesse/|DOWNLOAD}} and move binaries into a permanent directory (such as /usr/local/bin) and add this path to .bash_profile (mac) or .bashrc (mac/Linux). Use vim/nano/emacs and add the following lines to your bash profile There is no cmdline package install/management (i.e. apt-get,brew,macports), you need [[http://www.gwoptics.org/finesse/|DOWNLOAD fi]] and move binaries into a permanent directory (such as /usr/local/bin) and add this path to .bash_profile (mac) or .bashrc (mac/Linux). Use vim/nano/emacs and add the following lines to your bash profile
Line 32: Line 32:
# Set path of finesse binary, this is needed for pykat
export FINESSE_DIR=/usr/local/bin/Finesse2.1/
Line 36: Line 38:
==== Getting python notebooks to run Finesse as a front end ====
Line 49: Line 52:
pip3 install jupyter pip install jupyter
Line 53: Line 56:

Also you will need pykat
{{{
pip install pykat
}}}

This page is for the project to observe squeezing from the 40m.

Links to Finesse playground: LIGO gitlab Finesse_playground:master

To check out the repository at your commandline use

git clone https://git.ligo.org/IFOsim/Finesse_playground.git

If you have second factor authentication or want to be a pro use SSH (you will need to set up a public private key pair)

git clone git@git.ligo.org:IFOsim/Finesse_playground.git

We will be using the 40m subdirectory.

Getting and installing Finesse

Finesse is a software package for doing Fourier analysis of interferometric systems. It models a system as a network of connected nodes and solves a set of linear equations to generate output sweeping over one parameter at a time. Some of its syntax and ethos is evolved from LISO.

There is no cmdline package install/management (i.e. apt-get,brew,macports), you need DOWNLOAD fi and move binaries into a permanent directory (such as /usr/local/bin) and add this path to .bash_profile (mac) or .bashrc (mac/Linux). Use vim/nano/emacs and add the following lines to your bash profile

#Add path to finesse binary for all instances of shell
PATH+=":/usr/local/bin/Finesse2.1/"
export PATH

# Set path of finesse kat.ini universal config file
export KATINI=/usr/local/bin/Finesse2.1/kat.ini
# Set path of finesse binary, this is needed for pykat
export FINESSE_DIR=/usr/local/bin/Finesse2.1/

You can also just use the finesse binary 'kat' to run .kat files inside the same directory. The above should be used if you want to run it anywhere inside your system.

Getting python notebooks to run Finesse as a front end

You may also want to run finesse from a jupyter python notebook. Jupyter is easy to get. Check you have latest pip

pip3 install --upgrade pip

Or if that doesn't work

pip install --upgrade pip

Then

pip install jupyter

You now have Jupyter.

Also you will need pykat

pip install pykat

Squeezing (last edited 2017-02-16 00:27:42 by AndrewwadeATligoDOTorg)