This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Matlab code to plot a cavity resonance | |
F = 10; % Finesse | |
f = linspace(-0.5, 1.5, 201); | |
P = 1./(1 + (2/pi) * F^2 * sin(pi*f).^2); | |
plot(f, P); | |
xlabel('free spectral ranges'); | |
ylabel('power buildup'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var basicdiv = document.getElementById('BasicDocInfo'); | |
var dccnum = basicdiv.childNodes[1].childNodes[2].childNodes[0].innerHTML.split('-')[1]; | |
var numauthors = document.getElementById('Authors').childNodes[1].childNodes.length; | |
var authors = new Array(); | |
for(var j=0;j<numauthors;j++){ | |
authors[j] = document.getElementById('Authors').childNodes[1].childNodes[j].childNodes[0].innerHTML; | |
}; | |
var title = document.getElementById('DocTitle').childNodes[1].innerHTML; | |
var dateels = basicdiv.childNodes[1].childNodes[17].innerHTML.split('%20'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function varargout = ezcaswitchreport(varargin) | |
% ezcaswitchreport(sw1r, sw2r) | |
% | |
% This function decodes the _SW1R and _SW2R filter bank status readbacks | |
% in the LIGO realtime control system. | |
% | |
% Use EPICS functions to get the values, for instance: | |
% | |
% caget L1:ASC-WFS1_PIT_SW1R L1:ASC-WFS1_PIT_SW2R | |
% L1:ASC-WFS1_PIT_SW1R 61685 |