Skip to content
/ mie Public

Mie spherical particle scattering with derivatives

License

Notifications You must be signed in to change notification settings

eodg-code/mie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTRODUCTION
------------

This is the EODG Mie code, one of many Mie spherical particle scattering
implementations, but one that also computes derivatives of the input parameters
w.r.t. the outputs.

Starting August 1, 2007 there will be no more releases at
http://eodg.atm.ox.ac.uk/MIE/.  To keep up to date please use the git repository
at https://github.com/eodg-code/mie

Below is a brief introduction.  For more details please see the official
documentation at http://eodg.atm.ox.ac.uk/MIE/.


OVERVIEW
--------

The routines available are:

Mie Scattering routines:
    See the mie routines web page for more information
    (www.atm.ox.ac.uk/code/mie).
mie_single.pro
    Calculates scattering parameters for a single particle.
mie_derivs.pro
    Calculates scattering parameters and derivatives for a single particle.
mie_size_dist.pro
    Calculates scattering parameters for a modified gamma or log-normal
    distribution of particles.
mie_derivs_ln.pro
    Calculates scattering parameters and derivatives for a modified gamma or
    log-normal distribution of particles.
dlm-code/mie_single.dlm
    A IDL DLM version of mie_single.pro. NOTE: This procedure no longer returns
    the phase function, as this was causing segmentation faults. The scattering
    functions Xs1 and Xs2 can be used to calculate the phase function outside
    the routine though.

Old Mie scattering code:

mieext.pro
    Calculates the extinction and scattering coefficients, plus the asymmetry
    parameter of a single particle.
mieext_f.pro
    Uses CALL_EXTERNAL to call precompiled versions of mieext.

mie_uoc_d.pro
    Similar to mie_single.pro. Retained for compatibility.

Legendre expansion of a (phase) function:
legcrt.pro
    Reconstructs a function given a set of Legendre coefficients.
legexp.pro
    Expands a function as a Legendre series, returning the Legendre coefficients
quadrature.pro
    Assigns abscissa and weights for integration on the interval [-1,1].
    Available quadrature types are:
        Simpson's
        Trapezium
        Gaussian
        Radau
        Lobarto
Shift_quadrature.pro
    Shifts the quadrature interval from [-1,1] to an arbitrary [a,b].


COMPILATION
-----------
cp make.inc.example make.inc

Edit make.inc appropriately.

make

Note: The default in make.inc.example is for the EODG computing environment.


USAGE
-----
In order to use this code the IDL_PATH and IDL_DLM_PATH variables must be set
to this directory and the dlm-code/ directory.  These may be set either as an
environmental variable or within IDL with the PREF_SET command.

See the procedure headers for usage details.


CONTACT
-------
For questions, comments, or bug reports please email Greg McGarragh at:
g.mcgarragh@physics.ox.ac.uk.

About

Mie spherical particle scattering with derivatives

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published