Skip to content

Commit

Permalink
bump version, more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
scottprahl committed Jun 10, 2023
1 parent 0896cd3 commit 33ae5d1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

v2.4.0 (6/10/2023)
-------------------
* add mie_phase_matrix() to calculate scattering (Mueller) matrix

v2.3.2
-------------------
* fix typo in README.rst that prevented pypi upload
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ rstcheck:
-rstcheck README.rst
-rstcheck CHANGELOG.rst
-rstcheck docs/index.rst
-rstcheck docs/changelog.rst
-rstcheck --ignore-directives automodapi docs/miepython.rst

lintcheck:
Expand Down
7 changes: 6 additions & 1 deletion miepython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@
miepython.i_per(m, x, mu, norm='one')
miepython.i_par(m, x, mu, norm='one')
miepython.i_unpolarized(m, x, mu, norm='one')
The scattering matrix
miepython.mie_phase_matrix(m, x, mu)
"""
__version__ = '2.3.2'
__version__ = '2.4.0'
__author__ = 'Scott Prahl'
__email__ = '[email protected]'
__copyright__ = 'Copyright 2017-23, Scott Prahl'
Expand Down
2 changes: 1 addition & 1 deletion miepython/miepython.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def mie_S1_S2(m, x, mu, norm='albedo'):

def mie_phase_matrix(m, x, mu, norm='albedo'):
"""
Calculate the phase scattering matrix.
Calculate the scattering (Mueller) matrix.
If mu has length N, then the returned matrix is 4x4xN. If mu is a scalar
then the matrix is 4x4
Expand Down
2 changes: 1 addition & 1 deletion miepython/miepython_nojit.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def mie_S1_S2(m, x, mu, norm='albedo'):

def mie_phase_matrix(m, x, mu, norm='albedo'):
"""
Calculate the phase scattering matrix.
Calculate the scattering (Mueller) matrix.
If mu has length N, then the returned matrix is 4x4xN. If mu is a scalar
then the matrix is 4x4
Expand Down

0 comments on commit 33ae5d1

Please sign in to comment.