Description Usage Arguments Details See Also Examples
Beam Shape Coefficients for a Generic Plane Wave
1 |
kx |
The component x of the wave vector. |
ky |
The component y of the wave vector. |
kz |
The component z of the wave vector. |
implicit |
The way it calculates the Beam Shape Coefficients. If TRUE,
so we use the function |
x |
The component x of the position vector. |
y |
The component y of the position vector. |
z |
The component z of the position vector. |
xo |
The component x of the origin vector. |
yo |
The component y of the origin vector. |
zo |
The component z of the origin vector. |
Calculate the Beam Shape Coefficients for a plane wave with arbitrary polarization and propagating in arbitrary direction. It can be compared with the specific case calculated by Mie or that done in the book of Jackson, called here by Mie Plane Wave.
vswf.vsh
, vswf.mpw
, vswf.qlm
,
vswf.jlm
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | lm<-5
b0<-vswf.mpw(lm,norm=TRUE)
b1<-vswf.gpw(0,0,1,1/sqrt(2),1i/sqrt(2),0,lm,code="C")
b2<-vswf.gpw(0,0,1,1/sqrt(2),1i/sqrt(2),0,lm,code="R")
b3<-vswf.gpw(0,0,1,1/sqrt(2),1i/sqrt(2),0,lm,code="R",implicit=FALSE)
a<-vswf.mpw(lm,norm=TRUE)
b<-vswf.gpw(0,0,1,1/sqrt(2),1i/sqrt(2),0,lm)
#
plot(Re(a$GTE),type='b')
points(Re(b$GTE),pch=4,col='red',type='b')
#
plot(Re(a$GTM),type='b')
points(Re(b$GTM),pch=4,col='red',type='b')
#
plot(Im(a$GTE),type='b')
points(Im(b$GTE),pch=4,col='red',type='b')
#
plot(Im(a$GTM),type='b')
points(Im(b$GTM),pch=4,col='red',type='b')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.