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


This is a short tutorial to introduce Python programming to undergraduate students. It is not meant to formally teach programming skills, but rather show students what they can achieve using Python. In the course of the tutorial, the students will read a text file, perform calculations on arrays, define a function and fit a line to d...

View More
    2 Love

This tutorial is based on the introductory Python course offered internally at Google. https://developers.google.com/edu/python/introduction#prelude

View More
    2 Love

This tutorial on getting started with Python is the "officially sanctioned" guide hosted by python.org: https://docs.python.org/3.4/tutorial/

View More
    2 Love

The best way to learn how to program is to do something useful, so this introduction to Python is built around a common scientific task: data analysis. http://swcarpentry.github.io/python-novice-inflammation/

View More
    1 Love

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
    2 Love

This is a data-oriented approach to Python. The focus is on showing one how to quickly get up and running reading, manipulating and displaying data learning the minimum amount of Python initially. Gradually, more Python language is introduced as more complex examples are worked through. No Python background is required. https://githu...

View More
    2 Love

The notes and example at https://github.com/aphearin/cython_c_extension_example provide a simple, quickstart example that beginner's can use to pattern-match into their python code, saving them the trouble of having to wade through extensive, technical documentation when there is just a simple C function that needs to be wrapped into...

View More
    4 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
    3 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
    2 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
    5 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
    5 Love

"Minor bugfix, and equilibrium data ..."

View More
    5 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
    4 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
    5 Love

Latest Package Entries


This library is a Python package for handling spherical polygons that represent arbitrary regio...

View More
    2 Love

HST calibration pipeline for ACS, WFC3, and STIS.

View More
    1 Love

GWCS is a package for constructing and managing the World Coordinate System (WCS) of astronomic...

View More
    3 Love

Replacement for IRAF imexam task.

View More
    0 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