Skip to main content

Library of dust scattering codes

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xdust-1.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xdust-1.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file xdust-1.0.tar.gz.

File metadata

  • Download URL: xdust-1.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for xdust-1.0.tar.gz
Algorithm Hash digest
SHA256 d87bc8bf17d68fd1bbc4d8e34d23b304166a703cd70fb8594c247eafe3bfb230
MD5 b6f5ccf33013d235232b5c10a51afb62
BLAKE2b-256 d9168463fc0de2565830b8f087c3c701360e0fc616a02441a5c1396c67e71f5e

See more details on using hashes here.

File details

Details for the file xdust-1.0-py3-none-any.whl.

File metadata

  • Download URL: xdust-1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for xdust-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9163509ca52cd9ee2676894645a99c0cd69f01fa5b19780d986cdcaa2bf414cc
MD5 ac8dbb91b39ada10ddf0ea57dc5dc3c3
BLAKE2b-256 2261f778e5b91bfeb47413afbe80f38ff620d7d4b118cecc901b27d1456d0f81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page