Mie Simulator GUI Sample Infiles - VirtualPhotonics/MieSimulatorGUI GitHub Wiki

Sample Infiles for Custom Selection

The sample files in the "CustomDataSamples" folder show the required data format. Each data entry must be separated by a comma (,) or a tab, with no spaces at the end of each line. If the data isn't arranged correctly or contains extra spaces, an error message may appear.

Up to Version 1.3

Up to Version 1.3, each line in the data file should contain four entries as given in CustomSample1.txt and CustomSample2.txt: diameter, number density,real part of the refractive index, and imaginary part of the refractive index.

Version 2.0

Starting with Version 2.0, a new data format is supported. In addition to the four previous columns, a fifth column is included for the refractive index of the medium, which will override the value shown in the GUI. The data file should contain five entries as given in CustomSample3.txt and CustomSample4.txt: diameter, number density, real part of the refractive index, imaginary part of the refractive index, and refractive index of the medium.

CustomSample1.txt

0.2   3.18198e+05   1.42   -0.2
0.3   1.30094e+06   1.377   0
0.4   3.24211e+05   1.54   -0.45

CustomSample2.txt

0.2,3.18198e+05,1.42,-0.2
0.3,1.30094e+06,1.377,0
0.4,3.24211e+05,1.54,-0.45

CustomSample3.txt

0.2   3.18198e+05   1.42   -0.2   1.36
0.3   1.30094e+06   1.377   0   1.34
0.4   3.24211e+05   1.54   -0.45   1.33

CustomSample4.txt

0.2,3.18198e+05,1.42,-0.2,1.36
0.3,1.30094e+06,1.377,0,1.34
0.4,3.24211e+05,1.54,-0.45,1.33
⚠️ **GitHub.com Fallback** ⚠️