Spectrum & Field Pattern

中文/English

Spectrum

模擬波長 (Wavelength) 頻率 (Frequency)

Pulse : Input a pulse wave, obtain the scattering/absorption/extinction or transmission/reflection spectrum.


Start : Start Wavelength of observation (equal to end frequency)

End : End Wavelength of observation (equal to start frequency)

Center : center wavelength, use for modulate wave, the range between start and end.


Increment: (means how many numbers of wavelength will do the Fourier transform)

This is use for pulse wave, the increment number mean how much point will observe between the start and end wavelength (frequency) .

If the result of spectrum is analysis in wavelength, then checked the wavelength, if frequency, then checked the frequency.


checked the wavelength= Start + (End - Start)/(increment-1)*x |x=1~(increment-1)

checked the frequency= 1/End + (1/Start - 1/End)/(increment-1)*x |x=1~(increment-1)

Example:

If checked wavelength, the observation range from 100 nm to 1000 nm, the increment number is 100

=100 + (1000-100)/(100-1)*x |x=1~(100-1)

then the observation wavelength are 100, 109, 118, 127 ....1000 nm, total 100 observation point.

Although, the increment numbers the more the better (more improve the resolution), however, more increment numbers will use more RAM and simulation time will be more longer.

The figure at lower side is an example for increment numbers 100 vs. 11 in wavelength range 100 nm to 1000 nm. We can see if the increment numbers are not enough, the resonance peak at around 400 nm will missed.

wavelength from 100e-9 to 1000e-9, increment 100

wavelength from 100e-9 to 1000e-9, increment 11


The value of input source "Spectral Profile" can't be zero, this is due to the observation spectrum will divide the input source. if the value equal to zero, then will lead to wrong results. The input source profile can be tuned by t0, t1



Field Pattern

CW : Input a continue wave, obtain the field pattern.

自訂波形 Customize Waveform


The incident waveform, c is free space of light,T=total calculate time =8.6662e-15s;

checked ☑自訂波形 (Customize Waveform)

you can input any other waveform like square, triangle, etc.

use the input panel, the file name is "SelfDefineSource.csv"

for t=1:nmax ;
source(t)=exp(-1.0*((t-t0).^2)/t1).*sin(omega0*dt*(t-t0));
end
%csvwrite('SelfDefineSource.csv',source); %輸出自行定義的波形檔案