Пример #1
0
if current_dir=='':
    current_dir = '.'

#close("pilier")
#figure("pilier")
ax=gca()
N_DET = 3
ax.set_color_cycle([cm.jet(k) for k in linspace(0,1,N_DET)])

pilier = OmR()#0.304)
pilier.set_params(m=25.e-9,
        f_mech=4.e6,
        q=2e6,
        lambda_nm = 1064.,
        losses=15.e-6,
        transmission_input=30e-6,
        transmission_output=1.e-6,
        length=150e-6,
        i_incident=1000e-6,
        temp=1.,
        delta_hz=10,
        detection_losses=0.0)
pilier.freq = linspace(3.99e6,4.01e6, 1000)

"""
DETS = linspace(0,200e3, N_DET)
extent = [-90, 90, min(pilier.freq), max(pilier.freq)]
for index, delta_hz in enumerate(DETS):
    subplot(N_DET,1,index+1)  
    pilier.delta_hz = delta_hz
    img = array([10*log10(abs(pilier.left.output.spectrum_sym(phi))) for phi in linspace(-pi/2,pi/2)])
    img = img.T
Пример #2
0
import os.path as osp

from omr import OmR


current_dir = osp.join(osp.dirname(__file__))
if current_dir=='':
    current_dir = '.'
N_TEMPERATURES = 10

o = OmR()
o.set_params(m=6.75e-12,
        f_mech=1e6,
        q=1000.,
        lambda_nm = 1064.,
        losses=1.e-6,
        transmission_input=300e-6,
        length=0.00764,
        i_incident=1e-3,    
        delta_hz=1.)
tau = 1./(2*pi*1.7e6)
o.tau_in = tau/0.4
o.tau_ex = tau/0.6
o.n_th = 0
o.freq = linspace(0.99e6, 1.01e6, 400)
o.delta_hz = 0




Пример #3
0
from omr import OmR

current_dir = osp.join(osp.dirname(__file__))
if current_dir=='':
    current_dir = '.'


#### PRX Regal
o = OmR() #\epsilon_p*\epsilon_d
o.set_params(m=6.75e-12,
        f_mech=1.5243e6,
        q=100.,
        lambda_nm = 1064.,
        losses=1.e-6,
        transmission_input=30e-6,
        transmission_output=10.e-6,
        length=0.00764,
        i_incident=1e-3,
        temp=3.8e-4,    
        delta_hz=1.,
        detection_losses=0.304)

o.gamma_m_hz = 2560.
tau = 1./(2*pi*1.7e6)
o.tau_input = tau/0.4
o.tau_output = tau/0.6
o.n_photons = 1.1e8
o.freq = linspace(1.5e6, 1.56e6, 1000)
#o.right.output._get_losses = lambda:

Пример #4
0
from omr import OmR
import curve
from pandas import Series

current_dir = osp.join(osp.dirname(__file__))
if current_dir=='':
    current_dir = '.'
### Arcizet 2006
arcizet = OmR()
arcizet.set_params(m=190e-9,
        f_mech=814e3,
        q=1.e4,
        lambda_nm = 1064.,
        losses=1.e-6,
        transmission_input=2*pi/3e4,
        transmission_output=1e-6,
        length=0.0024,
        i_incident=2e-4,
        temp=300,    
        delta_hz=1.)
arcizet.freq=linspace(813.e3, 816.e3, 1000)

kappa_hz = arcizet.kappa_hz

name = "Arcizet2006"
figure(name)
for power in array((1.4,2.5,4.5,6.5,9.5)):
    shifts = []
    cooling = []
    phis = linspace(-4,4,100)