Python for Astronomers

The purpose of this web site is to act as a community knowledge base for performing astronomy research with Python. It provides a variety of tutorials,code snippets, resources ,lists of useful packages, a Q/A forum for general discussion, advice, and also features news items, event information and announcements.

Register or Sign In with the Oauth options below!
FacebookGoogleGithub

Latest Teach and Learn Posts


Practical Python for Astronomers is a series of hands-on workshops to explore the Python language and the powerful analysis tools it provides. The emphasis is on using Python to solve real-world problems that astronomers are likely to encounter in research. The workshops immediately make use of the full suite of plotting, analysis, a...

View More
    0 Love

"From our friends at Astrobetter !This is the companion wiki to the AstroBetter Blog. You can register (see right sidebar) to edit or comment on wiki pages. Please, share your expertise with us! If you have questions or do not know where to add your content, please email us at admin at astrobetter.comMac SetupSetup Guide for Mac Astr...

View More
    2 Love

The Astropy Tutorials walk through some typical software tasks and demonstrate the features in Astropy sub-packages in the context of a story or standard workflow.

View More
    0 Love

This is a comprehensive set of IPython notebook tutorials covering the key parts of the scientific Python software stack: NumPy, Matplotlib, and SciPy.  It also gives an overview of the Python language itself.http://scipy-lectures.github.io/

View More
    1 Love

Dylan Gregersen brings us another nice code snippet which might be especially welcome for IDL users who miss the STOP procedure:Here's a snippet I'm using often while writing scripts, executing via run -i <file> or execfile(<file>), and I want to quickly truncate the code so that the remaining part of the script doesn't ...

View More
    1 Love

This guest post was contributed by Moritz Guenther:When I first encountered the IPython notebook, I thought this was a solution looking for a problem. However, I have since been converted! The tipping point for me was this: I want to version control my papers and I always had multiple directories for analysis code, plotting code, La...

View More
    1 Love

The online tutorial Machine Learning for Astronomy with scikit-learn offers an introduction to the fields of machine learning and statistical data analysis, and their application to several problems in the field of astronomy. These learning tasks are enabled by the tools available in the open-source package scikit-learn....

View More
    0 Love

As part of a recent Python for Astronomers workshop on installation, Jon Chappell created a nice bash script to do a root install of scientific Python that works on recent Fedora machines.  You might find it useful!#!/bin/bash ### This script installs a number of base and addon packages to create a # scientific python distributio...

View More
    0 Love

Latest Forum Posts


" Eric Jeschke ( eric@naoj.org ) is the head of the Software Division at Subaru Telescope, National Astronomical Observatory of Japan. Python in Astronomy 2015 Workshop Participants. Photo by Peter Teuben. The Python in Astronomy 2015 workshop was held from 20-24th April 2015 at the Lorentz Center, Leiden Universit...

View More
    1 Love

" Just as I was moving to UC Davis, a funding call for a trainingcoordination center came out. I got partway down the path of applying for it beforerealizing that I was overwhelmed with the move, but I did generatesome text that I thought was OK. Here it is! The increasing velocity, variety, and volume of data generated inbiomed...

View More
    0 Love

" Cross-validation iterators in scikit-learn are simply generator objects, that is, Python objects that implement the iter method and that for each call to this method return (or more precisely, yield ) the indices or a boolean mask for the train and test set. Hence, implementing new cross-validation iterators that behave as...

View More
    1 Love

"Version 4.8 released; contains a revised pile-up formula for XMM-Newton EPIC instruments, and it also contains updated EPIC effective area curves and updated ASTRO-H HXI effective area curves...."

View More
    0 Love

" Yet another plugin announcement, Im happy to announce the release of a chorus plugin as well as a stereo phaser plugin based on the Audio Toolkit . They are available on Windows and OS X (min. 10.8) in different formats. The chorus plugin is based on a variable delay filter driven by a random delay signal, and the stereo phaser ...

View More
    0 Love

"Minor bugfix, and equilibrium data ..."

View More
    1 Love

" Youve probably heard someone ask someone else what books they would take to a deserted island.Its usually implied that youre bringing books for pleasure, not books that would help you survive on the island or leave it. People often answer the question with a list of their favorite books, perhaps skewed in favor of long books. But I...

View More
    0 Love

" Continuum Analytics has always been a leader in open source development and state-of-the-art technology. A prime example of our dedication to addressing complex problems and testing the boundaries of data science can be seen in our work on the Defense Advanced Research Projects Agency ( DARPA ) Memex program, which has been feat...

View More
    1 Love

Latest Package Entries


Automated Stellar Cluster Analysis

View More
    1 Love

Physical Optics Propagation in PYthon

View More
    1 Love

Supernova Cosmology

View More
    0 Love

Simulated PSFs for JWST

View More
    1 Love

Contribute

Contributions from the community are strongly encouraged. Dive into any of the sections and start creating and contributing.If you wish to add the feed of your blog to our list of aggregated blogs fill in the contribution form below!

Social