summaryrefslogtreecommitdiff
path: root/psr/psr_vs_detuning_combo.m
blob: 2e8921d4aeb7170b259c3d452178f79a81f1a544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
1;

N_detun_steps=1000;
detuning_p_min=-200.0;
%detuning_p_max=-detuning_p_min;
detuning_p_max=1000;
detuning_freq=linspace(detuning_p_min,detuning_p_max,N_detun_steps);

gmg=.7; % gyro magnetic ration for ground level
zeeman_splitting=+0.000;
B_field=zeeman_splitting/gmg;

%[psr_rad]=psr_vs_detuning(Ep, psi_el, B_field, theta, phi) 

% phi is angle between linear polarization and axis x
phi=pi*2/8;
% theta is angle between lab z axis (light propagation direction) and magnetic field axis (z')
theta=0;
% psi_el is the ellipticity parameter (phase difference between left and right polarization)
psi_el=-30/180*pi;

Ep=0.2;
[psr_rad]=psr_vs_detuning(detuning_freq, Ep, psi_el, B_field, theta, phi) ;