Saturday, March 30, 2013

Sky and Telescope, April 1980


When I was in high school in the early 80s, my parents bought me one of the now classic Edmund “Astroscan” 4 inch Newtonian telescopes. This was a simple enough machine to use. The scope was a short tube with a small red bowling ball attached to the bottom where the mirror sat. You pointed the thing at the sky by rolling it around on its red ball-shaped base. Then light from the stars went into the tube, reflected off a mirror at the bottom and then a smaller mirror at the top. You can then look through an eyepiece at the top of the telescope.

I loved the little red ball, and I devoured all of the literature available to me at the time, mostly in the form of the classic Astronomy and Sky and Telescope magazines. I remember the awesome back cover ads with the orange Celestrons. I remember the Meade ads with guys in white coats hanging out near huge Newtonian telescopes on equatorial mounts with "clock drives".

But one of the strongest memories I have of that time was an article by John Dobson about the origins of the now iconic Dobsonian telescope in an old issue of S&T. I even wrote a letter to the man, who was gracious enough to reply to an enthusiastic 14 year old. The other day I saw this article mentioned in the now also iconic book by Kriege and Berry about building larger Dobs. Turns out it was published in April of 1980. On a whim I checked around and found that I could buy and download the issue at Sky and Telescope's web site. Who can resist that?

So here is what the April 1980 issue of Sky and Telescope teaches you about the state of amateur astronomy then and now.

First, I know it's shallow and consumerist of me, but I love the ads. I can still remember some of them just by their layout and typography. There is the Astronomy Book Club (4 free books if you agree to buy 4 more at full price!), there are the ATM parts by Kenneth Novak who ran the same ad with the same 4-vane secondary spider in it for what seemed like my entire childhood. There are the previously mentioned Celestron and Meade Ads. There is the nascent Orion Telescope center before they partnered with China and took over the entire world. There are ads for huge boxes that tell time with a computer. There are the Willmann-Bell book ads.

The ads tell you of a world of astronomy where the Dobsonian telescope, the CCD camera, the fast APO refractor, dozens of niche exotic optical designs and the computerized telescope mount do not yet exist. It's pretty amazing what we got by with back then.

The next thing you notice is that the quantity and quality of the content in the magazine is astounding. Sky and Telescope was one of two major publications at the time for amateur astronomers. The other one was Astronomy, but it had a more modern and populist bent. The writing in Sky and Telescope was almost academic in its style. When I was but a young man I always found it to be a bit stuffy, but now it is refreshing to find writing in a hobby magazine that is significantly above the fourth grade reading level.

The two main features that month were both written by University professors. And, the first "news" item is not about some new product to buy, but a long piece about some mysterious gamma ray burst in the Large Magellanic Cloud, complete with imaging data and graphs of gamma ray counts. The rest of the issue is filled out with discussions of comets, the usual "what's up in the sky this month" things, a historical piece about an old star atlas, book reviews (there is a review of the apparently now classic Stars and Clusters by Cecilia Payne-Gaposchkin) and so on. Finally there are more specialized articles on the various sub-genres of the hobby: visual observing, amateur telescope making, deep sky photography and so on.

The Dobson piece shows up in the long running "Gleanings for ATMs" column which ran for longer than I've been alive, as far as I know.

My second favorite piece in the issue is a retrospective of a 18-month long project by a particularly intrepid amateur named Ben Mayer to photograph all of the Messier objects. To take a single picture this guy has to

1. Point the telescope at the object. Most of the Messiers are pretty bright, so maybe this isn't too hard. Still, my iPhone does this for me now.

2. Somehow focus the telescope so that the image in the camera will be sharp while still using an eyepiece on the telescope, since the camera can't take a picture and tell you if its in focus.

3. Sit outside in the cold and the muck with the telescope guiding by hand for an average of an hour per exposure.

4. Take backup exposures.

The results are pretty good, I guess, given what he's up against. But they aren't that much better than (say) my early and fumbling work with the video camera.

Then, a couple of days after reading this I came across this forum thread about a Messier Marathon. Spring is Messier season because if you situate yourself just right you can see all 110 objects in one night.

The subject of the thread is about an attempt to get a picture of all 110 objects in one night. The ends up losing a few because he wasted an hour early in the evening troubleshooting some focus problems. But he still manages to get 105 pictures in one night using a single 3 minute CCD exposure per picture.

And his pictures are a lot better.

So … computers, CCD cameras, and exotic optics have allowed enterprising amateurs to work about two to three orders of magnitude faster with much better end results. And I haven't even mentioned the impact that the large Dob has had on visual observing.

Even though it's not really true, in my mind I see 1980 as the time when these particular sets of balls got rolling. In just a couple of more years the large Dobsonian would be a commercial force. And just a few years later people would finally start experimenting with mass market computerized telescopes and CCD cameras. We get to where are we now, when a guy with sufficient resources and know-how can make respectable images of the entire Messier catalog in one night through a long process of refinement and re-engineering. But it was around 1980 when all of these things just started to become possibilities. At least for me.

Of course, now that we have all of these things, the publications that we had then are in danger of leaving us. For the most part the hobbyist content has been competently replaced by some of the better Internet web sites and forums. What these places lack in writing quality they more than make up for in the relative density of the their content. With this large distributed database at your fingertips you can now learn things in months that might have taken years before if you had to wait for the magazines to tell you how to do it.

It's easy to think that nothing will replace the long form magazine feature. Especially in niche publishing markets like astronomy. So I guess while the marketplace has delivered us tools we could not have dreamed possible in 1980, the arrival of those tools has also resulted in the death of at least one of the reason we would dream of such tools in the first place. I guess that's just how it goes.

Or maybe not. This month's S&T has a whimsical historical piece about the role of the full moon in a Civil War battle. And last month there was an article on a CCD Messier Marathon. So maybe it's not all that different after all.

Note


If you have the same irrational nostalgia for old hobby magazines as I do, you have to consider buying this full archive of the first 70 years of S&T. The only downer here is that they didn't just make PDFs of all the issues. Instead the content is locked on these ridiculous DVDs. Oh well.

Thursday, March 28, 2013

Maxim DL Setup and Workflow

Spring in Pittsburgh remains cold and cloudy. But, I did get out for one night in March and managed to run my whole setup from end to end to get one picture. So as a final illustration of how the whole process works, I'll describe step by step how I captured this shot of M82 that night.

M82-2013-03-9-300x-LRGB-pix-sharp


Before I get started with the details, I have a few general notes. First, it's not important that you work exactly how I work. What's important is that you find a way of working that is comfortable for you. What is most important is that you do the same thing every single night no matter what. Astrophotography is technical and generally unforgiving of mistakes. Repetition and practice are powerful mechanisms for minimizing the number of mistakes that you will make in the dark and the cold.

It also helps to be conservative in setting out goals for a particular night. What I try to do is decide what one thing I want to achieve on a particular night (take a picture of those two things, or fine tune my polar alignment scheme, or whatever) and when I'm done with that one thing I tear down no matter how good the night is. Setting and hitting the goal you want decreases frustration and increases confidence, both of which are important for minimizing the number of mistakes that you will make in the dark and the cold.

The rest of this post goes over the particulars of what I do in Maxim DL to capture pictures. While the specific setup is particular to Maxim, the general scheme is not, so you should be able to translate it to however you end up working.

Maxim Preliminaries


As we've covered before, I have started to use Maxim DL as my main piece of software for image capture. I have two main reasons for this:

1. It has robust support for the SBIG ST-2000XM camera that I bought, with its unique configuration of two CCD chips.

2. I really like the image calibration and stacking workflow that it supports. It lets me set up all of the various parameters just once and then run as many images as I want with just one button.

3. Finally, its support for computer control of the mount, and the "plate solving" utility is really convenient.

The one thing it does not have is a particularly straightforward user interface. But, to get the basics set up is not too bad. You have to tell it what kind of camera you have. You have to tell it what sort of mount you have. And you have to tell it how to guide. The various dialog boxes that you use to do this are covered the extensive online manual.

For my setup, I use the SBIG Universal camera setup and then I connect to my mount using the AstroPhysics ASCOM Driver. ASCOM is a software framework for controller astronomy hardware (mounts, cameras, domes, etc). I'm not going to get into the details here. It seems to work but for the most part it also seems like its main reason for existing is to make your life more complicated.

As I mentioned in my previous post, I also have a set of calibration (dark, bias, flat) frames shot for my camera that I keep loaded into Maxim. I carefully keep my camera set up so that I can re-use flats and I generally shoot at the same temperature and using the same basic exposure times so that I can re-use darks. It's convenient not to have to reshoot these frames every time even though my pictures would probably be better if I did so.

Mount and Tube Setup


I've gone over this a bunch of times in other posts. I use a Mach-1 mount that I keep torn down in my garage in a wheeled carrier. First I take the tripod and put it on my back patio with one leg pointing north. Then I roll the mount case out to the same place and I take the mount head out and put it on the tripod. I attach it using the three bolts, but leave them a bit loose so I can turn the mount head in azimuth for rough polar alignment. Then I attach the counterweights.

My telescope tube has a plate on its bottom that goes a QR saddle on the top of the mount. I go back in the house and grab the tube and slide the plate into the saddle and then tighten all the knobs down.

I keep the camera attached to the tube in the house. This leaves it set up in the same place every night which means that the optical system is pretty much always in the same configuration. So far this also means I've been able to keep using the same set of flats that I shot a few months ago. This probably won't last.

After the tube is attached I make sure it's reasonably balanced in the mount. The Mach-1 doesn't really care. Then I put the mount in what AP calls the "Park 1" position. In this position the tube is pointing north and horizontal and the counterweight shaft is pointing east/west and is also horizontal. I use a level to fine tune things.

While I wait for it to get darker, I run cables from the mount and camera to my laptop. I then fire up Maxim and any other software that I want and get the ASCOM driver connected to the mount. Finally, I run back outside and power up the camera too. Maxim will then connect to it and tell it to cool down to shooting temperature. I try to use the same temp every night so that it matches the dark frames I already have.

Polar Align


Next I polar align. First, I wait for it to get dark enough so I can see Polaris through the polar alignment scope on the mount. This is a small telescope that sits in the right ascension axis of the mount. Astrophysics has a great new polar alignment telescope with a right angle viewer that makes this very easy. The new scope has a simple circular reticle shown here and there is software to tell you where Polaris should fall on the reticle. So, you just look in, put Polaris in the right box and then you are done.

After this initial setup I then run the "quick drift" finder-scope alignment that I have described before. I have also taken to using my camera to do software-assisted drift alignment, but that really needs its own article.

I do these second steps mostly as a check on the first step. Also, in the summer it will probably take a while between when I set up and when it gets dark enough to start shooting anyway, so you might as well fine tune.

Focus and Frame


When the basic alignment is done, you tell the mount to point at a medium-bright star. Center this star in the camera and do a "Recal" operation on the mount. This syncs the position of the star in the catalog with where the mount thinks it is pointing and for the most part allows the Mach-1 to point the telescope pretty accurately.

Note that Astrophysics uses the term "Recal" or "RCAL" to mean the same thing as what most other systems call "SYNC". This is an endlessly confusing and annoying detail in the Astrophysics software. You have to be careful not to tell an Astrophysics mount to SYNC because its SYNC operation also makes assumptions about what side of the pier your tube is on that may or may not be true if you are not careful. The best thing to do is to tell the ASCOM driver to translate all SYNC requests into RCAL requests. Then you can't go wrong.

With the star synced up I put the Bahtinov mask on the front of the tube and focus. Here you capture frames and turn the focus knob until the diffraction pattern is perfectly centered, as in this wikipedia page. This mask is a great device.

At this point I also put the dew shield on the telescope so that the front corrector plate does not fog.

Frame the Target


Today I'm taking a picture of a pretty easy target. The galaxy M82 is in Ursa Major and is pretty bright. It also has a unique cigar-like shape as a result of being torn up by some violent gravitational forces from other nearby galaxies. I tell the laptop to tell the mount to point at M82. It goes there.

Then I take a short 10 to 30 second frame with Maxim to make sure we got it right. If the object is off center, I'll plate solve the picture with PinPoint to find out where I'm really pointed and then use the "center on the place I click" functionality in Maxim to center the picture.

Pinpoint has a lot of knobs, but for the most part I bring up the processing window shown here and just hit the button. Pinpoint works out where it is and then you go back to the telescope control window and click the "Select new Center Point" button to center the target. Maxim will then ask you to click anywhere in the captured image and move the scope to where you clicked.

This all works great as long as you remember to:

1. Connect Maxim to your mount with ASCOM.

2. Take the picture to plate solve after you have done step 1. Maxim writes position data into the meta-data of the image file and uses that to run the plate solver.

Guiding Setup


Setting up the guider is usually the trickiest part of the night. First you tell Maxim to take a 2 or 3 second picture with the guider CCD. When all goes well there is a nice bright star right next to the object you are shooting that hits the second CCD in the SBIG camera just right. In that case, you are golden. The guider UI in Maxim has three modes: Expose (to find the guide star), Calibrate (to calibrate the motions of the mount to the motions of the guide star) and Guide (to start guiding). On good nights you go through each of these modes one by one and then Maxim guides perfectly all night. In my experience this happens about 75% of the time.

Two main issues come up when using the guider chip in the SBIG. First, the chip just might not hit any stars that you can guide on. Second, there might be something there, but it ends up being too dim in one of the filters (usually the blue one) to guide on. I then find myself slewing the scope around looking for a good star. If I were more systematic I'd get a piece of hardware that lets me rotate the camera to find a good star. Also, I'd have a more systematic way to lay out the field of the camera in my planetarium software to know where to find a good star.

As it is, I've only had real trouble with this once, so I'm putting off adding more complexity to my system until this presents a consistent problem.

One important tip: since the guider CCD in the SBIG cameras sit behind the color filters (more on the filters later) always test the guider using the blue filter before moving on. Usually when you have trouble it's with the blue filter because many stars are dim in those wavelengths. So testing with the blue filter ahead of time will pay off.

Anyway, once the calibration works, just turn guiding on. Watch the error graph for a while to make sure it seems happy.

Capture Setup


My standard capture routine is for a series of 5 minute frames. I picked 5 minutes because it's easy to do math with it and it seemed like a reasonable tradeoff between sky glow and image detail. Also, my first few images taken with 5 minute "subs" worked really well so I saw no reason to change.

Each frame is captured in black and white and shot through either a red, blue, green or clear filter. The clear filter captures what we call a "luminance" image.

Exactly how many frames you capture depends on what you want to achieve in the picture. Generally speaking the more frames you take the less noise you will have. Less noise, to a first approximation, means more detail is possible. Therefore, some guys spend multiple nights taking dozens of hours of total exposure to create the very best and noise-free picture that they can. This is not my goal.

My goal is to take a reasonably decent snapshot of more than I can see myself. I'm more interested in seeing some different things than maximizing the image quality. This is originally why I started with the video camera, but I decided that a little more time to improve picture quality was worth it.

I have settled on taking around 10 "L" frames, and then 5 each in R, G and B. This takes a couple of hours per object, give or take. Sometimes I'll take more on faint objects. Sometimes if I want to fit two objects into a long night, I might go shorter. You'll notice that what we are really doing here is capturing what amounts to mostly a black and white picture (L) and then layering a bit of color data into it. The black and white data provides most of the detail. The color data just makes it look pretty. A more in depth discussion of exactly how people came up with these scheme is beyond the scope of what I want to talk about here. It's sort of all a lie, but it works anyway.

For M82 I had early darkness and got set up quickly, so I took a total of about three hours of exposures.

The way you do this in Maxim is to setup what they call an "Autosave Sequence". As usual, the interface for this is somewhat arcane and tedious. The nice thing is that once you get something you like you can save it and never have to set it up again.

The sequence tells Maxim to capture "groups" of frames each with different filter, binning and exposure parameters. Maxim will then run through these groups in order and take all the frames you need. You also tell it where on your computer to save the frames and you can give it a scheme for generating unique file names with sequence numbers and stuff.

So, I set up a sequence for 15 L frames of 5 minutes each, and then 6 frames with each of the red, green and blue filters, also 5 minutes each. The screen looks like this:

Screen Shot 2013-03-28 at 9.52.35 PM


Capture


After you set up the sequence you just hit the go button in the camera control window:

Screen Shot 2013-03-28 at 9.53.16 PM


If that screenshot were from a live sequence, the "Start" button would be enabled that that's the one you would have hit. You can pause the sequence by stopping it and then restart by hitting the Start button again with the control key down, I think.

I use this so that I can stop the sequence in the middle and check focus. Focus will tend to drift over time as the telescope cools off, so while you take frames you have to watch and see if they are getting soft. Maxim also will give you various measures of how sharp it thinks each frame is, so if these change drastically you also know it's time to focus.

To refocus, I sync the mount then point to a nearby medium bright star. Then I focus again with the Bahtinov mask and then I point back to M82. The mount is good enough to put my target almost exactly where it was before. If it's a bit off it's not a huge deal because the image processing software an register the frames just fine as long as they are close.

At this point you just sit back and do something to keep yourself busy while Maxim captures the pictures. I tend to surf the Internet or play Counterstrike.

Teardown


When the sequence is finished I turn everything off and tear the mount down. This is basically the reverse of the setup sequence. Warm the cameras up. Cover the scope. Turn the lights on. Disassemble everything. Put it all back in the garage.

Post-Processing


At this point you are done and what you have to show for it is a few dozen large black and white digital pictures of something. Each one looks something like this:

Screen Shot 2013-03-28 at 10.05.29 PM


At this point I use Maxim to:

1. Calibrate each raw frame with the darks and flats I took before.

2. Register and stack the R, G, B, and L frames into four separate composite images.

The calibration removes all of the fixed noise from the camera and optical system, as we discussed before. The stacking averages out the rest of the noise that we have accumulated while shooting the pictures. There are a ton of different ways to do calibration and image stacking. I pretty much stick to Maxim's defaults and I tell it to stack using one of the methods that also incorporates a median filter into the process. Using some median filtering allows the stacking process to get rid of pixel values that are very different from the ones that surround them. This is useful for filtering out random noise and sometimes the occasional jet trail. I should cover image stacking techniques in another article.

The final step is to take the final four images and combine them into a single color picture. But that's a longer story for another time.

More Things to cover next time


1. Polar alignment details.

2. Image stacking.

3. RGB combine and final post processing.