dust-extinction


Namedust-extinction JSON
Version 1.6 PyPI version JSON
download
home_pageNone
SummaryInterstellar Dust Extinction Models
upload_time2025-08-08 21:17:54
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseBSD 3-Clause License Copyright (c) 2017-2024, Karl Gordon All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Astronomical dust extinction
============================

This package provides astronomical interstellar dust extinction curves
implemented using the astropy.modeling framework.

This package is an `affiliated package <https://www.astropy.org/affiliated/>`_ of `AstroPy`_.

To install::

    pip install dust_extinction

Citation
--------

Please cite `Gordon 2024, JOSS, 9(100), 7023 <https://joss.theoj.org/papers/10.21105/joss.07023>`_.

In additon, please cite the original papers for the models used.  The papers for each model 
are given `here <https://dust-extinction.readthedocs.io/en/latest/dust_extinction/references.html>`_.

Documentation
-------------

See `readthedocs <http://dust-extinction.readthedocs.io>`_ for full documentation.

Package paper:

.. image:: https://joss.theoj.org/papers/42619ff7078a218d14893ff2da4f6ca6/status.svg
  :target: https://joss.theoj.org/papers/42619ff7078a218d14893ff2da4f6ca6
  :alt: JOSS status

Build checks/status
-------------------

.. image:: http://readthedocs.org/projects/dust-extinction/badge/?version=latest
   :target: http://dust-extinction.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. image:: https://github.com/karllark/dust_extinction/workflows/Python%20Tests/badge.svg
   :target: https://github.com/karllark/dust_extinction/actions/
   :alt: Test Status

.. image:: https://codecov.io/gh/karllark/dust_extinction/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/karllark/dust_extinction
   :alt: Test Coverage Status

.. image:: https://app.codacy.com/project/badge/Grade/748429f338714270bb5fffd87a0183b5
   :target: https://app.codacy.com/gh/karllark/dust_extinction/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade
   :alt: Codacy Status

Packaging
---------

.. image:: https://badge.fury.io/py/dust-extinction.svg
   :target: https://badge.fury.io/py/dust-extinction
   :alt: pypi dust_extinction

.. image:: https://img.shields.io/conda/vn/conda-forge/dust_extinction.svg
   :target: https://anaconda.org/conda-forge/dust_extinction
   :alt: Conda Version

.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
    :target: http://www.astropy.org
    :alt: Powered by Astropy Badge


In Development!
---------------

This code is in active development.
Contributions welcome (see below).

Contributors
------------
Karl Gordon (lead)

`All contributors <https://github.com/karllark/dust_extinction/graphs/contributors>`_

Contributing
------------

Please open a new issue or new pull request for bugs, feedback, or new features
you would like to see.   If there is an issue you would like to work on, please
leave a comment and we will be happy to assist.   New contributions and
contributors are very welcome!

New to github or open source projects?  If you are unsure about where to start
or haven't used github before, please feel free to contact `@karllark`.
Want more information about how to make a contribution?  Take a look at
the astropy `developer`_ documentation.

Feedback and feature requests?   Is there something missing you would like
to see?  Please open an issue or send an email to  `@karllark`.
dust_extinction follows the `Astropy Code of Conduct`_ and strives to provide a
welcoming community to all of our users and contributors.

We love contributions! dust_extinction is open source,
built on open source, and we'd love to have you hang out in our community.

**Impostor syndrome disclaimer**: We want your help. No, really.

There may be a little voice inside your head that is telling you that you're not
ready to be an open source contributor; that your skills aren't nearly good
enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at
all, you can contribute code to open source. Contributing to open source
projects is a fantastic way to advance one's coding skills. Writing perfect code
isn't the measure of a good developer (that would disqualify all of us!); it's
trying to create something, making mistakes, and learning from those
mistakes. That's how we all improve, and we are happy to help others learn.

Being an open source contributor doesn't just mean writing code, either. You can
help out by writing documentation, tests, or even giving feedback about the
project (and yes - that includes giving feedback about the contribution
process). Some of these contributions may be the most valuable to the project as
a whole, because you're coming to the project with fresh eyes, so you can see
the errors and assumptions that seasoned contributors have glossed over.

*This disclaimer was originally written by*
`Adrienne Lowe <https://github.com/adriennefriend>`_ for a
`PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`_, and was adapted by
dust_extinction based on its use in the README file for the
`MetPy project <https://github.com/Unidata/MetPy>`_.

License
-------

This project is Copyright (c) Karl Gordon and Kristen Larson and licensed under
the terms of the BSD 3-Clause license. This package is based upon
the `Astropy package template <https://github.com/astropy/package-template>`_
which is licensed under the BSD 3-clause licence. See the licenses folder for
more information.

.. _AstroPy: https://www.astropy.org/
.. _developer: https://docs.astropy.org/en/latest/index_dev.html
.. _Astropy Code of Conduct:  https://www.astropy.org/code_of_conduct.html

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "dust-extinction",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "\"Karl D. Gordon\" <kgordon@stsci.edu>",
    "download_url": "https://files.pythonhosted.org/packages/22/70/f59fc53732c96143908a6f90293dcd9fc1a139b38e799a803f723d6cc9b1/dust_extinction-1.6.tar.gz",
    "platform": null,
    "description": "Astronomical dust extinction\n============================\n\nThis package provides astronomical interstellar dust extinction curves\nimplemented using the astropy.modeling framework.\n\nThis package is an `affiliated package <https://www.astropy.org/affiliated/>`_ of `AstroPy`_.\n\nTo install::\n\n    pip install dust_extinction\n\nCitation\n--------\n\nPlease cite `Gordon 2024, JOSS, 9(100), 7023 <https://joss.theoj.org/papers/10.21105/joss.07023>`_.\n\nIn additon, please cite the original papers for the models used.  The papers for each model \nare given `here <https://dust-extinction.readthedocs.io/en/latest/dust_extinction/references.html>`_.\n\nDocumentation\n-------------\n\nSee `readthedocs <http://dust-extinction.readthedocs.io>`_ for full documentation.\n\nPackage paper:\n\n.. image:: https://joss.theoj.org/papers/42619ff7078a218d14893ff2da4f6ca6/status.svg\n  :target: https://joss.theoj.org/papers/42619ff7078a218d14893ff2da4f6ca6\n  :alt: JOSS status\n\nBuild checks/status\n-------------------\n\n.. image:: http://readthedocs.org/projects/dust-extinction/badge/?version=latest\n   :target: http://dust-extinction.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n\n.. image:: https://github.com/karllark/dust_extinction/workflows/Python%20Tests/badge.svg\n   :target: https://github.com/karllark/dust_extinction/actions/\n   :alt: Test Status\n\n.. image:: https://codecov.io/gh/karllark/dust_extinction/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/karllark/dust_extinction\n   :alt: Test Coverage Status\n\n.. image:: https://app.codacy.com/project/badge/Grade/748429f338714270bb5fffd87a0183b5\n   :target: https://app.codacy.com/gh/karllark/dust_extinction/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade\n   :alt: Codacy Status\n\nPackaging\n---------\n\n.. image:: https://badge.fury.io/py/dust-extinction.svg\n   :target: https://badge.fury.io/py/dust-extinction\n   :alt: pypi dust_extinction\n\n.. image:: https://img.shields.io/conda/vn/conda-forge/dust_extinction.svg\n   :target: https://anaconda.org/conda-forge/dust_extinction\n   :alt: Conda Version\n\n.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat\n    :target: http://www.astropy.org\n    :alt: Powered by Astropy Badge\n\n\nIn Development!\n---------------\n\nThis code is in active development.\nContributions welcome (see below).\n\nContributors\n------------\nKarl Gordon (lead)\n\n`All contributors <https://github.com/karllark/dust_extinction/graphs/contributors>`_\n\nContributing\n------------\n\nPlease open a new issue or new pull request for bugs, feedback, or new features\nyou would like to see.   If there is an issue you would like to work on, please\nleave a comment and we will be happy to assist.   New contributions and\ncontributors are very welcome!\n\nNew to github or open source projects?  If you are unsure about where to start\nor haven't used github before, please feel free to contact `@karllark`.\nWant more information about how to make a contribution?  Take a look at\nthe astropy `developer`_ documentation.\n\nFeedback and feature requests?   Is there something missing you would like\nto see?  Please open an issue or send an email to  `@karllark`.\ndust_extinction follows the `Astropy Code of Conduct`_ and strives to provide a\nwelcoming community to all of our users and contributors.\n\nWe love contributions! dust_extinction is open source,\nbuilt on open source, and we'd love to have you hang out in our community.\n\n**Impostor syndrome disclaimer**: We want your help. No, really.\n\nThere may be a little voice inside your head that is telling you that you're not\nready to be an open source contributor; that your skills aren't nearly good\nenough to contribute. What could you possibly offer a project like this one?\n\nWe assure you - the little voice in your head is wrong. If you can write code at\nall, you can contribute code to open source. Contributing to open source\nprojects is a fantastic way to advance one's coding skills. Writing perfect code\nisn't the measure of a good developer (that would disqualify all of us!); it's\ntrying to create something, making mistakes, and learning from those\nmistakes. That's how we all improve, and we are happy to help others learn.\n\nBeing an open source contributor doesn't just mean writing code, either. You can\nhelp out by writing documentation, tests, or even giving feedback about the\nproject (and yes - that includes giving feedback about the contribution\nprocess). Some of these contributions may be the most valuable to the project as\na whole, because you're coming to the project with fresh eyes, so you can see\nthe errors and assumptions that seasoned contributors have glossed over.\n\n*This disclaimer was originally written by*\n`Adrienne Lowe <https://github.com/adriennefriend>`_ for a\n`PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`_, and was adapted by\ndust_extinction based on its use in the README file for the\n`MetPy project <https://github.com/Unidata/MetPy>`_.\n\nLicense\n-------\n\nThis project is Copyright (c) Karl Gordon and Kristen Larson and licensed under\nthe terms of the BSD 3-Clause license. This package is based upon\nthe `Astropy package template <https://github.com/astropy/package-template>`_\nwhich is licensed under the BSD 3-clause licence. See the licenses folder for\nmore information.\n\n.. _AstroPy: https://www.astropy.org/\n.. _developer: https://docs.astropy.org/en/latest/index_dev.html\n.. _Astropy Code of Conduct:  https://www.astropy.org/code_of_conduct.html\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License\n        \n        Copyright (c) 2017-2024, Karl Gordon\n        All rights reserved.\n        \n        Redistribution and use in source and binary forms, with or without\n        modification, are permitted provided that the following conditions are met:\n        \n        * Redistributions of source code must retain the above copyright notice, this\n          list of conditions and the following disclaimer.\n        \n        * Redistributions in binary form must reproduce the above copyright notice,\n          this list of conditions and the following disclaimer in the documentation\n          and/or other materials provided with the distribution.\n        \n        * Neither the name of the copyright holder nor the names of its\n          contributors may be used to endorse or promote products derived from\n          this software without specific prior written permission.\n        \n        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n        \n        ",
    "summary": "Interstellar Dust Extinction Models",
    "version": "1.6",
    "project_urls": {
        "repository": "https://github.com/karllark/dust_extinction"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2270f59fc53732c96143908a6f90293dcd9fc1a139b38e799a803f723d6cc9b1",
                "md5": "592b8b2c8491a87ee3bdd18b50c51531",
                "sha256": "055b724412cf166816339dd39ece7cb01759f29d93cf21f628f6c744a6b82a06"
            },
            "downloads": -1,
            "filename": "dust_extinction-1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "592b8b2c8491a87ee3bdd18b50c51531",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3803492,
            "upload_time": "2025-08-08T21:17:54",
            "upload_time_iso_8601": "2025-08-08T21:17:54.837608Z",
            "url": "https://files.pythonhosted.org/packages/22/70/f59fc53732c96143908a6f90293dcd9fc1a139b38e799a803f723d6cc9b1/dust_extinction-1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-08 21:17:54",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "karllark",
    "github_project": "dust_extinction",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "dust-extinction"
}
        
Elapsed time: 0.94706s