Mie theory software
MieLab:
A Software Tool to Perform Calculations on the Scattering of Electromagnetic Waves by Multilayered Spheres
http://www.hindawi.com/journals/ijs/2011/583743/
Nmie:
https://nanohub.org/resources/8228
http://juluribk.com/2010/05/11/nmie-extinction-scattering-and-absorption-efficiencies-of-multilayer-nanoparticles/
This website contains many freeware,FDTD、FEM、Ray tracing method and mie theory codes
http://www.scattport.org/diogenes.iwt.uni-bremen.de/vt/scattport/index.php/light-scattering-software/mie-type-codes.html
Menu ==> 【其它 Other】==>【遠場Far-Field】
Use the steady state filed pattern analysis
following are the detail of these two NTFF method.
Source type : TFSF-RCS*
Source type : Others
csvwrite('scan_theta.csv',scan_theta)
csvwrite('RCS_theta.csv',RCS_theta)
csvwrite('RCS_phi.csv',RCS_phi)
MatScat
Author :Jan Schäfer
http://www.mathworks.com/matlabcentral/fileexchange/36831-matscat
scan_theta=csvread('scan_theta.csv');
RCS_theta=csvread('RCS_theta.csv');
RCS_phi=csvread('RCS_phi.csv');
%% Define test parameters
lambda0=400e-9;
dia = 400e-9; % cylinder diameter
ns = 1.5 + 0.j; % cylinder refractive index (complex) epsr=ns^2
nm = 1; % outer medium refractive index (real)
nang = 180; % number of far field angles to evaluate
zeta = 90; % cylinder inclination angle (90 deg = perpendicular)
[T, C, ang] = calccyl(dia/2., ns, nm, lambda0, nang, zeta);
fctr = 2/pi/C.k;
Far2E= fctr*squeeze(abs(T(2,2,:).^2)); % 2E
figure(1);hold on;
plot(scan_theta,RCS_theta(172,:),'r','Linewidth',3);
plot(ang, Far2E/max(Far2E(:))*max(RCS_theta(172,:)),'*b');
xlabel('Scattering Angle');
title('TM(ExEzHy)')
legend('FDTD','Analytical Solution')
a(:,1)=scan_theta';
a(:,2)=RCS_theta';
a(:,3)=RCS_phi';
csvwrite('Far2DTM.csv',a)
MatScat
Author :Jan Schäfer
http://www.mathworks.com/matlabcentral/fileexchange/36831-matscat
load Far2DTM.csv
scan_theta=Far2DTM(:,1);
RCS_theta=Far2DTM(:,2);
RCS_phi=Far2DTM(:,3);
lambda0=400e-9;
%% Define test parameters
dia = 400e-9; % cylinder diameter
ns = 1.5 + 0.j; % cylinder refractive index (complex) epsr=ns^2
nm = 1; % outer medium refractive index (real)
nang = 180; % number of far field angles to evaluate
zeta = 90; % cylinder inclination angle (90 deg = perpendicular)
[T, C, ang] = calccyl(dia/2., ns, nm, lambda0, nang, zeta);
fctr = 2/pi/C.k;
Far2E= fctr*squeeze(abs(T(2,2,:).^2)); % 2E
figure(1);hold on;
plot(scan_theta,RCS_theta,'r','Linewidth',3);
plot(ang, Far2E/max(Far2E(:))*max(RCS_theta(:)),'*b');
xlabel('Scattering Angle');
title('TM(ExEzHy)')
legend('FDTD','Analytical Solution')
Mie theory software
MieLab:
A Software Tool to Perform Calculations on the Scattering of Electromagnetic Waves by Multilayered Spheres
http://www.hindawi.com/journals/ijs/2011/583743/
Nmie:
https://nanohub.org/resources/8228
http://juluribk.com/2010/05/11/nmie-extinction-scattering-and-absorption-efficiencies-of-multilayer-nanoparticles/
This website contains many freeware,FDTD、FEM、Ray tracing method and mie theory codes
http://www.scattport.org/diogenes.iwt.uni-bremen.de/vt/scattport/index.php/light-scattering-software/mie-type-codes.html