Welcome to AstroPython

The purpose of this web site is to act as a community knowledge base for performing astronomy research with Python. It provides lists of useful resources, a forum for general discussion, advice, or relevant news items, collecting users' code snippets or scripts, and longer tutorials on specific topics. The topics within these pages are presented in a list view with the ability to sort by date or topic. A traditional "blog" view of the most recently posted topics is visible from the site Home page.


Contributions from the community are strongly encouraged. If you are interested please contact the AstroPython team via the Contribute page. We can either post material on your behalf or give you an astropython.org user account to allow your own postings.


Resource: SNCosmo

Description: Supernova Cosmology
Homepage URL: http://sncosmo.readthedocs.org/

SNCosmo is a Python library for high-level supernova cosmology
analysis. It aims to make such analysis both as flexible and
clear as possible. It is built on NumPy, SciPy and AstroPy.

Posted by aldcroft

Resource: WebbPSF

Description: Simulated PSFs for JWST
Homepage URL: https://pythonhosted.org/webbpsf/

WebbPSF is a Python package that computes simulated PSFs for the
JWST instruments, taking into account detector pixel scales,
rotations, filter profiles, and point source spectra. It is not a
full optical model of JWST, but rather a tool for transforming
optical path difference (OPD) maps, created with some other tool,
into the resulting PSFs as observed ...

Posted by aldcroft

Resource: POPPY

Description: Physical Optics Propagation in PYthon
Homepage URL: https://pythonhosted.org/poppy/

POPPY (Physical Optics Propagation in PYthon) simulates physical
optical propagation including diffraction. It implements a
flexible framework for modeling Fraunhofer (far-field)
diffraction and point spread function formation, particularly in
the context of astronomical telescopes. POPPY was developed as
part of a simulation package for JWST, but is more broadly
applicable to many kinds of imaging simulations.

Posted by aldcroft

Resource: ASteCA

Description: Automated Stellar Cluster Analysis
Homepage URL: http://asteca.github.io/

The Automated Stellar Cluster Analysis (ASteCA) package is designed to fully
automatize the usual tests applied on star clusters in order to determine their
characteristics: center, radius, stars' membership probabilities and associated
intrinsic/extrinsic parameters: metallicity, age, reddening, distance, total
mass, binarity fraction, etc.

The accompanying article describing the code can be accessed as http://arxiv.org ...

Posted by aldcroft

Blog: Effective Computation in Physics (with Python of course!)

Great new book out in early release ebook format at http://physics.codes!

Here's the blurb:

"Finally! Effective Computation in Physics is a manual for
starting up or honing your programming and software skills even
though your background is in the physical sciences or
engineering. This book is your field guide to computing and
research in the context of the work that you are already
doing. We ...

Posted by aldcroft