Skip to content

Commit

Permalink
doc: fitting and contraints with GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
lavakyan committed Feb 11, 2020
1 parent 1e2d063 commit fc110cc
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '1.0.0'
release = '1.0.1'


# -- General configuration ---------------------------------------------------
Expand Down
Binary file added doc/source/gui/gui_contraints_coreshell.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/gui/gui_contraints_empty.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/gui/gui_fit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions doc/source/gui/gui_fitting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. _gui_fitting:

Fitting and constraints
-----------------------

.. image:: interface_fitting.png


Open file -- select file with column-formatted data to fit

Plot button -- visualize data and compare it with theory




Play button -- start fitting

Stop button -- interrupt fitting

ChiSq -- shows the obtained fitting quality parameter :math:`\chi^2` (see :class:mstm_studio.mstm_spectrum.SPR).

.. image:: gui_fit.png

Constraints button -- open new window with constraints options

Empty constraints window:

.. image:: gui_contraints_empty.png


Example of possible constraints for core-shell nanoparticle:

.. image:: gui_contraints_coreshell.png

For details consult :ref:`Constraints`

3 changes: 3 additions & 0 deletions doc/source/scripting/fitting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ Fitter class
.. autoclass:: mstm_studio.fit_spheres_optic.Fitter
:members:


.. _constraints:

Constraints
-----------

Expand Down

0 comments on commit fc110cc

Please sign in to comment.