A colleague came to me with a question. She had some Herschel data in a FITS image with world coordinate system information (WCS) as well as some derived data in pixel coordinates based on that image. She wanted to create a new FITS image with WCS information to allow her to match the two images. It turns out the simplest way to explain how to do that was basically to write a blog post, so here we are.
I was forced to use PHP and cron jobs to monitor servers. Don't do this.
I was frustrated with incorrectly sized colorbars on my matplotlib figures with subplots, so I dove in to figure out how to sort this out once and for all.
The extensions to WebbPSF that will allow it to compute PSFs for the wide field imaging instrument for the upcoming WFIRST mission have been released. Here are some resources for using them.
Sometimes, one tries to iterate over some content more than once, and Python acts like it only iterated once. Here's the reason why, and some historical context for it.
Time-series data collected by astronomers typically has irregular gaps, usually because of ground conditions (like sunrise) getting in the way. The Lomb-Scargle algorithm allows observers to tease out periodicities in their data, even when it has gaps that would introduce noise in a Fourier transform-based approach.
Why is it a good idea to use tools from 1977 to build Mac apps? In this post, I build my SDL test app bundle using a Makefile instead of an IDE.
Setting up Xcode 5.1 for development with SDL 2, then getting a test program to compile and run
Explaining AO using the top one thousand most common words in English (inspired by xkcd)
Smooth a noisy signal by convolving it with a 'boxcar' kernel (or: the poor man's low-pass filter)Background image of the Carina nebula by NASA, ESA, N. Smith (University of California, Berkeley), and The Hubble Heritage Team (STScI/AURA)