Skip to content

Commit 3ae8d45

Browse files
LeonLeon
Leon
authored and
Leon
committed
DOC: near field calculation GUI
1 parent 1136ad9 commit 3ae8d45

File tree

2 files changed

+11
-29
lines changed

2 files changed

+11
-29
lines changed

doc/source/gui/gui_spheres.rst

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
.. _gui_spheres:
22

3-
Spheres
4-
-------
3+
Multi-Spheres T-Matrix
4+
----------------------
5+
6+
Mutli-spheres T-matrix calculations are done by calling the external binary MSTMcode written by Mischenko and Mackowski. Currently supported are the spectra calculations (extinction, scattering or absorbtion) and near field visualization.
7+
Both modes requires specification of the spheres geometry and thier material.
8+
GUI provides the following options:
59

610
.. image:: interface_mstm.png
711

@@ -27,33 +31,11 @@ Environment material by default is `m0`. This can be changed using menu:
2731

2832
Cross button deletes the selected sphere.
2933

34+
Calculation modes:
3035

31-
MSTM run
32-
^^^^^^^^
33-
34-
.. image:: gui_mstm.png
35-
36-
"min" -- minimal wavelength (in nm),
37-
38-
"max" -- maximal wavelength (in nm),
39-
40-
"count" -- number of wavelength points. By default the spacing is 10 nm.
41-
42-
"Calculate" button runs MSTM binary in temporary directory (OS-dependent) and reads the results.
43-
44-
"scale" -- total outer multiplier.
45-
46-
save button -- save extinction to column file.
47-
48-
plot button -- plot without re-calculation (i.e. with new `scale`).
49-
50-
.. image:: gui_mstm_plot.png
51-
52-
The plot controls are rendered by Matplotlib, and can depend on the library version. Generally, it is possible to zoom region of interest and save graphic as a raster or vector image.
53-
54-
55-
56-
36+
.. toctree::
37+
gui_spectrum
38+
gui_nearfield
5739

5840

5941

doc/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Features
1010
* Materials defined from constant expression, from tabulated file or from analytical formula of `Rioux et al <http://doi.org/10.1002/adom.201300457>`_ for Au-Ag;
1111
* Simple functional contributions (linear, lorentzian, gaussian)
1212
* Mie theory contributions
13-
* MSTM calculations
13+
* MSTM calculations: spectra and near-field intensity
1414
* Fitting of experimental data by any of the mentioned contributions, including combinations
1515
* Interactive graphical user interface
1616
* Flexible Python scripting

0 commit comments

Comments
 (0)