Skip to content

Chirped laser pulse in AMcylindrical geometry #782

Answered by Z10Frank
noreasonatall1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
the LaserGaussianAM profile in src/Python/pyprofiles.py is

def LaserGaussianAM( box_side="xmin", a0=1., omega=1., focus=None, waist=3.,
        polarization_phi=0., ellipticity=0., time_envelope=tconstant(), phase_offset=0.):
    from math import cos, sin, tan, atan, sqrt, exp
    if (len(focus)<1) or (len(focus)>2): 
        print("ERROR: focus should be a list of length 1")
        exit(1)
    elif (len(focus)==2):
        print("WARNING: deprecated focus in LaserGaussianAM should be a list of length 1")
    # Polarization and amplitude
    [dephasing, amplitudeY, amplitudeZ] = transformPolarization(polarization_phi, ellipticity)
    amplitudeY *= a0 * omega
    amplitudeZ *= a0 …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@noreasonatall1
Comment options

@Z10Frank
Comment options

Answer selected by noreasonatall1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants