Skip to content

Commit 33ae5d1

Browse files
committed
bump version, more linting
1 parent 0896cd3 commit 33ae5d1

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
v2.4.0 (6/10/2023)
5+
-------------------
6+
* add mie_phase_matrix() to calculate scattering (Mueller) matrix
7+
48
v2.3.2
59
-------------------
610
* fix typo in README.rst that prevented pypi upload

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ rstcheck:
1919
-rstcheck README.rst
2020
-rstcheck CHANGELOG.rst
2121
-rstcheck docs/index.rst
22-
-rstcheck docs/changelog.rst
2322
-rstcheck --ignore-directives automodapi docs/miepython.rst
2423

2524
lintcheck:

miepython/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,13 @@
3636
miepython.i_per(m, x, mu, norm='one')
3737
miepython.i_par(m, x, mu, norm='one')
3838
miepython.i_unpolarized(m, x, mu, norm='one')
39+
40+
The scattering matrix
41+
42+
miepython.mie_phase_matrix(m, x, mu)
43+
3944
"""
40-
__version__ = '2.3.2'
45+
__version__ = '2.4.0'
4146
__author__ = 'Scott Prahl'
4247
__email__ = '[email protected]'
4348
__copyright__ = 'Copyright 2017-23, Scott Prahl'

miepython/miepython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def mie_S1_S2(m, x, mu, norm='albedo'):
645645

646646
def mie_phase_matrix(m, x, mu, norm='albedo'):
647647
"""
648-
Calculate the phase scattering matrix.
648+
Calculate the scattering (Mueller) matrix.
649649
650650
If mu has length N, then the returned matrix is 4x4xN. If mu is a scalar
651651
then the matrix is 4x4

miepython/miepython_nojit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ def mie_S1_S2(m, x, mu, norm='albedo'):
559559

560560
def mie_phase_matrix(m, x, mu, norm='albedo'):
561561
"""
562-
Calculate the phase scattering matrix.
562+
Calculate the scattering (Mueller) matrix.
563563
564564
If mu has length N, then the returned matrix is 4x4xN. If mu is a scalar
565565
then the matrix is 4x4

0 commit comments

Comments
 (0)