Changed sampling of angle such that it is up to NozzleExitDivergence not MOTExitDivergence, made some other cosmetic changes.
This commit is contained in:
parent
f0e2bea4f5
commit
e80c68ef2a
@ -1,6 +1,6 @@
|
||||
function plotCaptureVelocityVsAngle(obj)
|
||||
|
||||
theta = linspace(0, obj.MOTExitDivergence, 40);
|
||||
theta = linspace(0, obj.NozzleExitDivergence, 1000);
|
||||
CaptureVelocity = zeros(length(theta),3);
|
||||
|
||||
for i=1:length(theta)
|
||||
@ -20,16 +20,16 @@ function plotCaptureVelocityVsAngle(obj)
|
||||
screensize = get(0,'ScreenSize');
|
||||
f_h.Position = [[screensize(3)/3.5 screensize(4)/3.5] 750 600];
|
||||
|
||||
plot(theta, sqrt(CaptureVelocity(:,1).^2+CaptureVelocity(:,2).^2+CaptureVelocity(:,3).^2), 'Linewidth', 1.5)
|
||||
plot(theta .* 1e+03, sqrt(CaptureVelocity(:,1).^2+CaptureVelocity(:,2).^2+CaptureVelocity(:,3).^2), 'Linewidth', 1.5)
|
||||
|
||||
hXLabel = xlabel('\theta (rad)');
|
||||
hXLabel = xlabel('\theta (mrad)');
|
||||
hYLabel = ylabel('Velocity (m/s)');
|
||||
hTitle = sgtitle('Capture Velocity of an atomic beam from (0,0,0)');
|
||||
hTitle = sgtitle('Capture velocity for different angles of divergence');
|
||||
|
||||
set([hXLabel, hYLabel] , ...
|
||||
'FontSize' , 14 );
|
||||
set( hTitle , ...
|
||||
'FontSize' , 18 );
|
||||
'FontSize' , 14 );
|
||||
|
||||
grid on
|
||||
Helper.bringFiguresWithTagInForeground();
|
||||
|
Loading…
Reference in New Issue
Block a user