Astropy Documentation¶
The astropy
package contains key functionality and common tools needed for
performing astronomy and astrophysics with Python. It is at the core of the
Astropy Project, which aims to enable
the community to develop a robust ecosystem of Affiliated Packages covering a broad range of
needs for astronomical research, data processing, and data analysis.
Important
If you use Astropy for work presented in a publication or talk please help the project via proper citation or acknowledgement. This also applies to use of software or affliated packages that depend on the astropy core package.
Getting Started¶
User Documentation¶
Data structures and transformations¶
- Constants (
astropy.constants
) - Units and Quantities (
astropy.units
) - N-Dimensional Datasets (
astropy.nddata
) - Data Tables (
astropy.table
) - Time and Dates (
astropy.time
) - Time Series (
astropy.timeseries
) - Astronomical Coordinate Systems (
astropy.coordinates
) - World Coordinate System (
astropy.wcs
) - Models and Fitting (
astropy.modeling
) - Uncertainties and Distributions (
astropy.uncertainty
)
Files, I/O, and Communication¶
Computations and utilities¶
Developer Documentation¶
The developer documentation contains instructions for how to contribute to Astropy or affiliated packages, as well as coding, documentation, and testing guidelines. For the guiding vision of this process and the project as a whole, see Vision for a Common Astronomy Python Package.
- How to make a code contribution
- When to rebase and squash commits
- Coding Guidelines
- Writing Documentation
- Astropy Narrative Style Guide: A Writing Resource for Contributors
- Testing Guidelines
- Writing Command-Line Scripts
- Building Astropy and its Subpackages
- C or Cython Extensions
- Release Procedures
- Workflow for Maintainers
- How to create and maintain a Python package using the Astropy template
- Full Changelog
There are some additional tools, mostly of use for maintainers, in the astropy/astropy-procedures repository.