Added a flag to turn on or off the Push beam.

This commit is contained in:
Karthik 2021-07-11 21:13:01 +02:00
parent c2e6420243
commit cbef467b6f

View File

@ -78,6 +78,7 @@ classdef MOTSimulator < handle & matlab.mixin.Copyable
%Flags %Flags
SpontaneousEmission; SpontaneousEmission;
Sideband; Sideband;
PushBeam;
ZeemanSlowerBeam; ZeemanSlowerBeam;
Gravity; Gravity;
BackgroundCollision; BackgroundCollision;
@ -120,6 +121,8 @@ classdef MOTSimulator < handle & matlab.mixin.Copyable
@islogical); @islogical);
addParameter(p, 'Sideband', false,... addParameter(p, 'Sideband', false,...
@islogical); @islogical);
addParameter(p, 'PushBeam', false,...
@islogical);
addParameter(p, 'ZeemanSlowerBeam', false,... addParameter(p, 'ZeemanSlowerBeam', false,...
@islogical); @islogical);
addParameter(p, 'Gravity', false,... addParameter(p, 'Gravity', false,...
@ -142,6 +145,7 @@ classdef MOTSimulator < handle & matlab.mixin.Copyable
s.SpontaneousEmission = p.Results.SpontaneousEmission; s.SpontaneousEmission = p.Results.SpontaneousEmission;
s.Sideband = p.Results.Sideband; s.Sideband = p.Results.Sideband;
s.PushBeam = p.Results.PushBeam;
s.ZeemanSlowerBeam = p.Results.ZeemanSlowerBeam; s.ZeemanSlowerBeam = p.Results.ZeemanSlowerBeam;
s.Gravity = p.Results.Gravity; s.Gravity = p.Results.Gravity;
s.BackgroundCollision = p.Results.BackgroundCollision; s.BackgroundCollision = p.Results.BackgroundCollision;