|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.Ray
optics.ParaxialRay
optics.GaussianBeam
public class GaussianBeam
Class to implement a Gaussian Beam that can be traced using using the ParaxialMatrix and ParaxialGroup classes. The Gaussian beam extends a ParaxialRay by adding the complex beam parameter.
Field Summary | |
---|---|
protected optics.math.Complex |
beam
The complex beam parameter (actually 1/q). |
Fields inherited from class optics.ParaxialRay |
---|
angle, height, plane |
Fields inherited from class optics.Ray |
---|
intensity, monitor, waveLength |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS, version |
Constructor Summary | |
---|---|
GaussianBeam(double lambda,
double waist)
Constrctor to form a GuassianBeam at the origin, with height 0, angle 0 in plane 0, with specifed wavelength at beam waist |
|
GaussianBeam(double h,
double a,
double p,
double lambda,
double waist)
Constructor to form a GuassianBeam with specifed beam waist. |
Method Summary | |
---|---|
double |
getAlpha()
Method to get Alpha parameter. |
optics.math.Complex |
getBeamParameter()
Method the complex beam parameter q. |
double |
getBeamRadius()
Method to get the current beam radius. |
double |
getBeamWaist()
Method to get the beam waist of the current GaussianBeam. |
double |
getBeamWaistLocation()
Method to get the beam waist location in global coordinates. |
double |
getCurvature()
Method to get the curvature of the beam wavefront |
double |
getDivergenceAngle()
Method to get the farfield divergence angle of the beam in radians. |
boolean |
mult(ParaxialMatrix p)
Method to multiply the current GuassianBeam by a ParaxialMatrix. |
void |
setBeamParameter(optics.math.Complex q)
Method to set the complex beam parameter |
String |
toString()
Method to get the GaussianBeam information in a String |
Methods inherited from class optics.ParaxialRay |
---|
clone, crosses, crossesZero, edit, getAngle, getAngleInDegrees, getHeight, getPlane, getPosition, heightInPlane, isInvalid, main, pointInPlane, propagate, propagateThrough, propagateThrough, propagateTo, setAngle, setAngle, setAngleInDegrees, setHeight, setInvalid, setPlane |
Methods inherited from class optics.Ray |
---|
addMonitor, clearMonitor, getIntensity, getMonitor, getWaveLength, isValid, monitorUpdate, setIntensity, setWaveLength |
Methods inherited from class optics.Optics |
---|
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected optics.math.Complex beam
Constructor Detail |
---|
public GaussianBeam(double h, double a, double p, double lambda, double waist)
h
- height from optical axisa
- angle with respect to optical axisp
- the planelambda
- wavelength in micromswaist
- the beam waist.public GaussianBeam(double lambda, double waist)
lambda
- wavelength in micromswaist
- beam waist in mmMethod Detail |
---|
public optics.math.Complex getBeamParameter()
Complex
the Complex beam parameter.public void setBeamParameter(optics.math.Complex q)
q
- the Complex beam parameter.public double getCurvature()
double
the wavefront curvature.public double getAlpha()
double
the alpha paramaterpublic double getBeamRadius()
double
thepublic String toString()
toString
in class ParaxialRay
String
the information as a String.public double getBeamWaist()
double
the beam waistpublic double getDivergenceAngle()
double
the divergence anglepublic double getBeamWaistLocation()
double
location of the beam waist.public boolean mult(ParaxialMatrix p)
mult
in class ParaxialRay
p
- the ParaxialMatrix
boolean
true if sucessful, false
if there is a NaN.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |