Added a flag to turn on or off the Push beam.
This commit is contained in:
parent
c2e6420243
commit
cbef467b6f
@ -78,6 +78,7 @@ classdef MOTSimulator < handle & matlab.mixin.Copyable
|
||||
%Flags
|
||||
SpontaneousEmission;
|
||||
Sideband;
|
||||
PushBeam;
|
||||
ZeemanSlowerBeam;
|
||||
Gravity;
|
||||
BackgroundCollision;
|
||||
@ -120,6 +121,8 @@ classdef MOTSimulator < handle & matlab.mixin.Copyable
|
||||
@islogical);
|
||||
addParameter(p, 'Sideband', false,...
|
||||
@islogical);
|
||||
addParameter(p, 'PushBeam', false,...
|
||||
@islogical);
|
||||
addParameter(p, 'ZeemanSlowerBeam', false,...
|
||||
@islogical);
|
||||
addParameter(p, 'Gravity', false,...
|
||||
@ -142,6 +145,7 @@ classdef MOTSimulator < handle & matlab.mixin.Copyable
|
||||
|
||||
s.SpontaneousEmission = p.Results.SpontaneousEmission;
|
||||
s.Sideband = p.Results.Sideband;
|
||||
s.PushBeam = p.Results.PushBeam;
|
||||
s.ZeemanSlowerBeam = p.Results.ZeemanSlowerBeam;
|
||||
s.Gravity = p.Results.Gravity;
|
||||
s.BackgroundCollision = p.Results.BackgroundCollision;
|
||||
|
Loading…
Reference in New Issue
Block a user