Skip to content

Commit

Permalink
DOC: including spheroids doc in the tree
Browse files Browse the repository at this point in the history
  • Loading branch information
lavakyan committed Mar 5, 2021
1 parent dbec692 commit 1f730ce
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
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.1'
release = '1.0.2'


# -- General configuration ---------------------------------------------------
Expand Down
12 changes: 10 additions & 2 deletions doc/source/scripting/nonspherical.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ Currently supported only spheroid shape (rotational ellipsoid) using external li
Example
^^^^^^^

Calculation of extinction for oblate spheroid with aspect ratio of 1.5.
The size is specified by diamter of equivalent-volume sphere.
Calculation of extinction for oblate spheroid with aspect ratio of :math:`\alpha=a/c=`1.5.
The size is specified by diamter :math:`a_{eff}` of equivalent-volume sphere.

The spheroid size can be derived as

.. math::
a = a_{eff} \alpha^{1/3} \\
c = a / \alpha
.. literalinclude:: spheroid_contrib.py
Expand Down
1 change: 1 addition & 0 deletions doc/source/scripting/scripting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Use Python scripts for full control of calculations.
materials
contribs
spheres
nonspherical
fitting


Expand Down
4 changes: 2 additions & 2 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: mstm_studio
version: 1.0.1
version: 1.0.2

build:
noarch: python
Expand All @@ -11,4 +11,4 @@ requirements:
run:
- python
about:
summary: Python wrapper for multiple sphere T-matrix (MSTM) code and Mie theory to calculate surface plasmon resonance (SPR) spectrum and *fit* it to experiment.
summary: Python wrapper for multiple sphere T-matrix (MSTM) code and Mie theory to calculate surface plasmon resonance (SPR) spectrum and *fit* it to experiment.
2 changes: 1 addition & 1 deletion mstm_studio/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.1'
__version__ = '1.0.2'

0 comments on commit 1f730ce

Please sign in to comment.