Skip to content

Commit 0777fbe

Browse files
committed
changed order of keyword arguments in diff_scat_intensity_complex_medium()
1 parent a8dfa7f commit 0777fbe

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pymie/mie.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,8 +1070,8 @@ def _scat_fields_complex_medium(m, x, thetas, kd, near_field=False):
10701070

10711071
return Es_theta, Es_phi, Hs_theta, Hs_phi
10721072

1073-
def diff_scat_intensity_complex_medium(m, x, thetas, kd,
1074-
coordinate_system = 'scattering plane', phis = None, near_field=False,
1073+
def diff_scat_intensity_complex_medium(m, x, thetas, kd, phis = None,
1074+
coordinate_system = 'scattering plane', near_field=False,
10751075
incident_vector=None):
10761076
"""
10771077
Calculates the differential scattered intensity in an absorbing medium.
@@ -1118,20 +1118,20 @@ def diff_scat_intensity_complex_medium(m, x, thetas, kd,
11181118
distance away from the center of the particle. The standard far-field
11191119
solutions are obtained when distance >> radius in a non-absorbing
11201120
medium.
1121-
coordinate_system : string
1122-
default value 'scattering plane' means scattering calculations will be
1123-
carried out in the basis defined by basis vectors parallel and
1124-
perpendicular to scattering plane. Variable also accepts value
1125-
'cartesian' which scattering calculations will be carried out in the
1126-
basis defined by basis vectors x and y in the lab frame, with z
1127-
as the direction of propagation.
11281121
phis : None or ndarray
11291122
azimuthal angles for which to calculate the diff scat intensity. In the
11301123
'scattering plane' coordinate system, the scattering matrix does not
11311124
depend on phi, so phi should be set to None. In the 'cartesian'
11321125
coordinate system, the scattering matrix does depend on phi, so an
11331126
array of values should be provided. For 'cartesian' both thetas and
11341127
phis should be 2D, as output from np.meshgrid.
1128+
coordinate_system : string
1129+
default value 'scattering plane' means scattering calculations will be
1130+
carried out in the basis defined by basis vectors parallel and
1131+
perpendicular to scattering plane. Variable also accepts value
1132+
'cartesian' which scattering calculations will be carried out in the
1133+
basis defined by basis vectors x and y in the lab frame, with z
1134+
as the direction of propagation.
11351135
near_field : boolean
11361136
True to include the near-fields (default is False). Cannot be set to
11371137
True while using coordinate_system='cartesian' because near field

0 commit comments

Comments
 (0)