Skip to content
/ pahfit Public

Model Decomposition for Near- to Mid-Infrared Spectroscopy of Astronomical Sources

Notifications You must be signed in to change notification settings

PAHFIT/pahfit

Repository files navigation

PAHFIT

PAHFIT is a decomposition model and tool for astronomical infrared spectra, focusing on dust and gas emission features from the interstellar medium (see Smith, J.D.T., Draine B.T., et al., 2007, ApJ, 656, 770).

This package provides an updated python implementation of PAHFIT. While the original versions of PAHFIT (v1.x) were written in IDL and focused mainly on Spitzer/IRS spectroscopic observations, the newer python-based versions (>=v2.0) will expand instrument coverage to other existing (e.g., AKARI) and planned (e.g., JWST) facilities, and will offer a more flexible modeling framework suitable for modeling a wider range of astrophysical sources.

Based on and inspired by the IDL code PAHFIT by JD Smith and Bruce Draine.

Build checks/status

Documentation Status Test Status Test Coverage Status LGTM Status Codacy Status

Packaging

Powered by Astropy Badge

Documentation

Note that as of March, 2023, a significant change to the PAHFIT API and model specification was merged; the documentation do not reflect these changes and will be improved soon.

Hosted by readthedocs: <http://pahfit.readthedocs.io/en/latest/>

In Development!

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

Contributors

  • J.D. Smith
  • Dries van De Putte
  • Karl Gordon
  • Thomas Lai
  • Alexandros Maragkoudakis
  • Els Peeters
  • Jan Cami
  • Ameek Sidhu

License

This project is Copyright (c) PAHFit Developers and licensed under the terms of the GNU GPL v3+ license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause licence. See the licenses folder for more information.

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 contributing and 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. PAHFIT follows the Astropy Code of Conduct and strives to provide a welcoming community to all of our users and contributors.

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

Imposter 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 pahfit based on its use in the README file for the `MetPy project <https://github.com/Unidata/MetPy>`_.