Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PyMieScatt/CoreShell.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ def MieQCoreShell(mCore,mShell,wavelength,dCore,dShell, asDict=False, asCrossSec
xCore = np.pi*dCore/wavelength
xShell = np.pi*dShell/wavelength
if xCore==xShell:
return MieQ(mCore,wavelength,dShell)
return MieQ(mCore,wavelength,dShell, asDict=asDict, asCrossSection=asCrossSection)
elif xCore==0:
return MieQ(mShell,wavelength,dShell)
return MieQ(mShell,wavelength,dShell, asDict=asDict, asCrossSection=asCrossSection)
elif mCore==mShell:
return MieQ(mCore,wavelength,dShell)
return MieQ(mCore,wavelength,dShell, asDict=asDict, asCrossSection=asCrossSection)
elif xCore>0:
nmax = np.round(2+xShell+4*(xShell**(1/3)))
n = np.arange(1,nmax+1)
Expand Down