Occultation of Mars by the Moon

Moon coming out from behind the moon.

Egress of Mars from behind the moon as seen through the 60-inch telescope at Mount Wilson. December 7, 2022 17:30 PST.

On December 7th 2022, I cashed in any and all credits I had with the weather gods. It’s a superstitious thing to say, but there’s still a tiny irrational part of my brain that thinks that way. But it was worth it to be able to do a live stream of the occultation of Mars by the Moon.

A couple of months prior, we were getting toward the end of our observing season at Mount Wilson Observatory. Mars was just starting to peak out from the mountains to the East at the end of our sessions and I wondered when it was next at opposition, a time when Mars tends to be big and bright. Pulled out my phone, launched SkySafari and asked it to take me to the date of opposition. It took me to Wednesday, December 7th at 20:26:05 PDT, and centered the view on Mars. And there was the Moon, less than half a degree East of Mars. That’s when I first realized there was going to be an occultation (one celestial body passes in front of another). Continue reading

Posted in Uncategorized | Leave a comment

Sidewalk Astronomy and Social Distancing

Projection of the image of the moon as seen through my 6" Newtonian onto the sidewalk.

Projection of the image of the moon as seen through my 6″ Newtonian onto the sidewalk.

If you’re like me, you’ve had the “outreach itch” for a while now, especially when the Comet C/2020 F3 (NEOWISE) streaked across the Northern skies. But setting up a telescope and inviting strangers to look through your eyepiece is not an option these days. Continue reading

Posted in Uncategorized | Leave a comment

Model Fitting with Python

As part of our annual summer intern program (now called the Carnegie Astrophysics Summer Student Internship program, or CASSI), we run a python workshop. The purpose of this is to help bring our interns, who have a diverse range of experience with programming and python, to a common footing. Continue reading

Posted in Uncategorized | Leave a comment

NASA/ADS changes its API

Now that the NASA Abstract Data Service (ADS) has changed its API without offering a legacy service, a number of things I deal with broke. While I understand wanting to make progress, one should always strive to break as few things as possible, and since all the URLs have changed in the new system, I don’t see why keeping the old ones would have been that much of a problem. Oh well, onwards and upwards.

If you used the NASA/ADS WordPress plugin to display your private libraries (as I do for my publications list), that’s one of the things that broke. But it’s not too hard to fix. All you need to do is edit the following file in your wordpress folder: plugins/wp-nasaads-query-importer/wp-nasaads-query-importer.php. Continue reading

Posted in Uncategorized | Leave a comment

Compiling MOOG on OSX

Just a quick post for those who want to compile Chris Sneden‘s spectral line analysis package MOOG. Chris provides many helpful Makefiles with the code, including a few for Mac computers. The problem is it assumes we’re using the g77 FORTRAN compiler. Most new Macs will only deal with 64-bit binaries, so we have to use gfortran instead. Just changing the FC variable in the Makefile results in the dreated “symbol not found” errors:

[...] 
"_sm_ylabel_", referenced from:
 _binplot_ in Binplot.o
 _specplot_ in Specplot.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [MOOG] Error 1

Continue reading

Posted in Uncategorized | Leave a comment

The Great Eclipse of 2017

Sixteen hours of driving is a lot. That’s how long it took us to drive the 888 miles from Pasadena, CA to Mackay, ID. But that’s what you do to see an event like the 2017 eclipse. Sure, we could have flown to Sun Valley or Boise, then drive, but we were bringing telescopes and other equipment, so we rented a Ford Expedition EL (the EL stands for “Extra Long”), packed up the family, and began the long drive across some of the most beautiful parts of the US. This is a journal of the travel and event. Continue reading

Posted in Uncategorized | Leave a comment

What, If Anything, Does Dust Tell Us about Supernovae

Here’ s a talk I gave at a recent Type Ia supernova progenitors workshop held at Carnegie. I talk about the rather perplexing properties of interstellar dust as inferred by using type Ia’s a “standard crayons”.  Or is it really all that perplexing? These findings can also be found in more detail here.

 

Posted in Uncategorized | Leave a comment

Got an old iSight?

Reading some online reviews of CMOS and CCD detectors for amateur telescopes, I often came across words to the effect of “basically a glorified web-cam”. It got me to thinking: my old iSight camera (the cylindrical ones we used to buy before they were built in to all Apple products) might fit into an eyepiece holder.

IMG_0004_2

iSight adapter.

Alas, it was just a little too wide to fit in. But thanks to they guys at our machine shop, I soon had an adapter. Made from some scrap aluminum using a lathe.

The next step was to remove the lens from the iSight. The reason is that the camera will take the place of the eyepiece, and so the image from the telescope will be made directly on the CCD and you don’t want a lens in the way. Luckily, there are YouTube instructions for doing this, so I wasn’t flying blind. Continue reading

Posted in Uncategorized | Leave a comment

A Tale of Three Samplers

A triangle plot that shows the covariance between model parameters.

This summer, I hired an undergraduate student to look into calibrating our CSP supernovae. I wanted to do some more sophisticated models and so we looked into a few MCMC modules for python: pystan, pymc, and emcee.

Each has its plusses and minuses. In fact, I found myself wanting to merge all three together into one system. So, in case anyone out there is wondering which of these to delve into, I’m posting a summary of the three. Also, I’ve been having fun with ipython notebooks for teaching this to my students and have made three versions of the same tutorial: fitting a linear model to data. You can look at each one here:

Continue reading

Posted in Uncategorized | Leave a comment

From g77 to gfortran

Lots of friends and colleagues have been happily using g77 as their fortran compiler for years. Now, however, you can’t find an up-to-date g77 compiler very easily and we’re all supposed to start using gfortran. Here’s some tips for getting your old .f files to compile:

  • Use the following command-line arguments when invoking the gfortran compiler to get better compatibility:
    gfortran -ffixed-line-length-none -fdefault-real-8 -std=legacy -fd-lines-as-comments
  • Two commonly used argument names for the OPEN() procedure have changed. Instead of specifying NAME=FNAME, use FILE=FNAME and instead of using TYPE=, use STATUS=.
  • When linking with external libraries, you may find “symbol not found” errors, even though you know those symbols are defined in the library. This likely has to do with how many underscores (_) are in the symbol name. gfortran has some switches than can help:  -fsecond-underscore, -fno-second-underscore, depending on what the error reports and what the symbols are called in the library (use the ‘nm’ or ‘ldd’ command on the library to show it’s contents).
Posted in Uncategorized | Leave a comment