DSHARP Mie-Opacity Library
This repository contains a module to carry out Mie opacity calculations based on a range of astrophysically relevant optical datasets and to calculate the default opacity tables used in the Disk Substructures at High Angular Resolution Project (DSHARP, PI: S. Andrews).
This package was created by T. Birnstiel and C.P. Dullemond.
Credit
If you use this package, please cite Birnstiel et al. (2018).
If you use any optical constants, please cite the appropriate experimental papers. The reference will be displayed upon import of the constants.
Installation
-
From source: go into the base directory (where this
README.mdis) and runpip install .Should you work on the sources, e.g. for including new optical constants or new mehtods, then we recommend linking the installation to the source folder. Changes to the sources will then be reflected upon
import dsharp_opacwithout the need to reinstall the package. -
last release from pypi.org:
pip install dsharp_opac
Note: some of the optical constants rely on data files that will be downloaded upon first use of that particular class.
Tests & Examples
You can find some jupyter notebooks in the notebooks folder that demonstrate some of the functionality of this package. It also contains the notebooks and data that were used to create the figures in Birnstiel et al. (2018).
Release files for dsharp-opac 1.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsharp_opac-1.1.13.tar.gz | 9.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsharp_opac-1.1.13-cp313-cp313-macosx_15_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 15.0+ ARM64 | Details |
Total release size: 16.9 MB
Release files / dsharp_opac-1.1.13.tar.gz
| Download URL | dsharp_opac-1.1.13.tar.gz |
|---|---|
| Size | 9.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7afa86f5baa873cbfd6f1d6b476301be23e4439636ee5d0c9b9146209ca5cc28
|
|
BLAKE2b-256 checksum How to use checksums |
d033fb601bb3c4c018f161e94e7ea9e390f3bf02a94c3a186bb299c809921c37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / dsharp_opac-1.1.13-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | dsharp_opac-1.1.13-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d9b37806a253ae24b013c2e23e94029444aab670afac77f5353d9d444d09e4d6
|
|
BLAKE2b-256 checksum How to use checksums |
515b070d59ececd748522fd792ae80c019b5902c93a8db365bd84b88167a4bff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|