dust-extinction-1.7
توضیحات
Interstellar Dust Extinction Models
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dust-extinction-1.7 |
| نام | dust-extinction |
| نسخه کتابخانه | 1.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | "Karl D. Gordon" <kgordon@stsci.edu> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dust-extinction/ |
| مجوز | BSD 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. |
.. image:: docs/dust_extinction/images/dust_extinction_logo_tiny.png
:alt: dust_extinction logo
:align: left
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
نیازمندی
| مقدار | نام |
|---|---|
| - | astropy |
| - | scipy |
| xtr | pytest; |
| xtr | pytest-doctestplus; |
| xtr | pytest-cov; |
| xtr | matplotlib; |
| xtr | sphinx; |
| xtr | sphinx-automodapi; |
| xtr | matplotlib; |
| xtr | graphviz; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl dust-extinction-1.7:
pip install dust-extinction-1.7.whl
نصب پکیج tar.gz dust-extinction-1.7:
pip install dust-extinction-1.7.tar.gz