Dust Grain Fitter

DGFit is a python package to derive dust grain size and composition distributions based on fitting observations of interstellar dust.

User Documentation

Installation

Repository

GitHub: DGFit

Quick Start

Material needed.

Reporting Issues

If you have found a bug in DGFit please report it by creating a new issue on the DGFit GitHub issue tracker.

Please include an example that demonstrates the issue sufficiently so that the developers can reproduce and fix the problem. You may also be asked to provide information about your operating system and a full Python stack trace. The developers will walk you through obtaining a stack trace if it is necessary.

Contributing

Like the Astropy project, DGFit is made both by and for its users. We accept contributions at all levels, spanning the gamut from fixing a typo in the documentation to developing a major new feature. We welcome contributors who will abide by the Python Software Foundation Code of Conduct.

DGFit follows the same workflow and coding guidelines as Astropy. The following pages will help you get started with contributing fixes, code, or documentation (no git or GitHub experience necessary):

For the complete list of contributors please see the DGFit contributors page on Github.

Reference API

dgfit.obsdata Module

Classes

ObsData(obs_filename[, scat_path])

ObsData Class

Class Inheritance Diagram

digraph inheritance02045004ea { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ObsData" [URL="api/dgfit.obsdata.ObsData.html#dgfit.obsdata.ObsData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="ObsData Class"]; }

dgfit.dustgrains Module

Classes

DustGrains()

DustGrains Class

Class Inheritance Diagram

digraph inheritance5f2331fa15 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "DustGrains" [URL="api/dgfit.dustgrains.DustGrains.html#dgfit.dustgrains.DustGrains",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="DustGrains Class"]; }

dgfit.dustmodel Module

Classes

DustModel([componentnames, path, dustmodel, ...])

Full dust model including arbitrary size and composition distributions.

MRNDustModel(**kwargs)

Dust model that uses powerlaw size distributions with min/max sizes (MRN).

WDDustModel(**kwargs)

Dust model that uses the Weingartner & Draine (2001) size distributions.

Class Inheritance Diagram

digraph inheritancea6036041ad { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "DustModel" [URL="api/dgfit.dustmodel.DustModel.html#dgfit.dustmodel.DustModel",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Full dust model including arbitrary size and composition distributions."]; "MRNDustModel" [URL="api/dgfit.dustmodel.MRNDustModel.html#dgfit.dustmodel.MRNDustModel",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Dust model that uses powerlaw size distributions with min/max"]; "DustModel" -> "MRNDustModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WDDustModel" [URL="api/dgfit.dustmodel.WDDustModel.html#dgfit.dustmodel.WDDustModel",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Dust model that uses the Weingartner & Draine (2001) size distributions."]; "DustModel" -> "WDDustModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; }