Code covered by the BSD License
 Hydrogenic Wavefunction V...Visualize hydrogenic wavefunctions in 3D and watch animations of atomic state changes
 ...
resizeWavefunctionGrid Resize wavefunctions onto a uniform grid
 LaguerreGen.m
 LegendrePoly(n)
LegendrePoly.m by David Terr, Raytheon, 51004
 animateTransition(tVec, d...animateTransition Displays an animation of a state transition
 autoThreshold( psi )
autoThreshold Estimate wavefunction isosurface thresholds for visual effect
 blochSpherePlot( varargin )
blochSpherePlot Displays the Bloch sphere representation of a system
 calculateHydrogenicWavefu...
 calculateHydrogenicWavefu...calculateHydrogenicWavefunctionBounds Find wavefunction's bounding box
 calculateTransitionalStat...calculateTransitionalState Calculate wavefunction during a transition.
 dipoleMoment(psi1,psi2,dim)
dipoleMoment The dipole moment between two 3d wavefunctions
 findRadialMaximum( psi )
findRadialMaximum Calculate the radial line of maximum probability density
 findWavefunctionsBounding...findWavefunctionsBoundingRadius Finds the bounding radius of wavefunctions
 generateWavefunctionList(...generateWavefunctionList Calculates a list of wavefunctions
 getPsiFromNLM(psiList, N,...getPsiFromNLM Finds an entry in psiList representing state N,L,M>
 getPsiList( varargin )
getPsiList Finds, loads or generates the list of wavefunctions
 guiTrans(varargin)Copyright 2009 The MathWorks, Inc.
 isElectricDipoleTransitio...isElectricDipoleTransition Indicates allowed electric dipole transitions
 lookupLNomenclature(L)
lookupLNomenclature Returns name for given angular momentum state
 options(varargin)End initialization code  DO NOT EDIT
 parseStateLabel( stateLab...parseStateLabel Interprets a state label string into the state parameters
 plotPsi(varargin)
plotPsi Displays a 3d plot of a wavefunction
 simpleAnimateTransition( ...simpleAnimateTransition Animate a transition between given states
 simplePlotPsi( state )
simplePlotPsi Plot a given hydrogen wavefunction
 zeroCrossings(y)
zeroCrossings Finds the positive and negative zero crossings of a row vector
 runme.mCopyright 2009 The MathWorks, Inc.

View all files
Hydrogenic Wavefunction Visulization Tool
by
Jos Martin
29 Dec 2009
(Updated
11 Sep 2012)
Visualize hydrogenic wavefunctions in 3D and watch animations of atomic state changes

Hydrogenic Wavefunction Visulization Tool 
Visualize hydrogenic wavefunctions in 3D and watch animations of atomic state changes The code provides base functionality to calculate the wavefunctions for hydrogen and visualise those wavefunctions using isosurfaces in 3D. This can be used to explore the spatial nature of the wavefunctions. In addition it is easy to calculate something approximating the wavefunction of the atom whist undergoing a state transition (to make it easier to understand we assume the Rabi frequency is very slow). Then the wavefunction of the atom can be visualised as a function of time whilst a transition is simulated. The transition GUI allows the user to program in any desired transition (even nonelectric dipole transitions) and watch the evolution of the wavefunction. The animations clearly show why pitransition emit linearly polarized light and sigmatransitions circular polarized light. Developed in conjunction with Oxford Physics. Many thanks to Dr. David Lucas and Mr. Chris Ballance. The code in this submission was written by Chris Ballance whilst undertaking an internship at The MathWorks.


Contact us