Skip to content

eblur/xdust

Repository files navigation

Xdust

Previously eblur/newdust

DOI

This package calculates extinction curves and small-angle scattering halos from a user-defined dust grain size distribution. It calculates scattering and absorption from first principles (optical constants of the material, Mie or Rayleigh-Gans scattering).

Updated 2026.06 to by installable via PyPI and documented with Sphinx

Documentation: https://eblur.github.io/xdust

Installation

Typical installation

pip install xdust

For developers

If you need to stay up to date with development versions of xdust, use:

git clone https://github.com/eblur/xdust.git

cd xdust

pip install -e .

To invoke:

import xdust

How to use:

See the jupyter notebooks in examples/ for examples of setting up grain populations and modeling scattering halos from Galactic dust.

About

Tools for calculating astrophysical dust opacities, with extra functionality for X-ray dust scattering halo images

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages