Astronomical Imaging - The Basics - 4

in #steemstem6 years ago (edited)

So far in this series have discussed

In this installment - part 4 - of "Astronomical Imaging - The Basics" I will discuss techniques for obtaining accurate focus of both camera lenses and telescopes. Critical focus is extremely important in astrophotography and can be difficult for newcomers to get right. I will discuss some theory followed by some practical techniques for focusing (but feel free to skip the theory part to the "Focus Techniques" section).

Theory

Critical focus

diagram-cfz3.png

CFZ is the zone around the focal plane where an object at infinity is sharply focused

To obtain a sharp image, a camera sensor needs to be positioned in the Critical Focus zone (CFZ). This is zone is a very small region (as we will see shortly) and as a result the focusing mechanism needs to be very precise. CFZ is often estimated by the following formula.
formula-cfz-vsmall.png

λ is the wavelength of light being observed

N is focal ratio

This formula is based on the expansion of a star’s Airy disk as focus moves away from the point of perfect focus. The Airy disk is the result of the diffraction of light from a point source passing through an aperture. This is the behaviour seen with stars seen through a telescope and can in fact be seen in a telescope under good conditions.

antares-22-44-15.jpg

Supergiant star Antares was imaged by the author with a 14” telescope at high resolution under steady conditions. You can see the Airy disk diffraction rings clearly on the main star and faintly on the blue companion

A theoretical Airy disk is shown in the left-hand image below. As the image is defocused the light and rings of the Air disk begin to spread out, until the first light ring corresponds with the first dark ring from the in focused airy disk. This point is shown in the right-hand image and corresponds to when the CFZ is breached.

cfz-focus-airydisk.png

Left - Airy disk at perfect focus, right – Airy disk when defocused to the limit of the CFZ

The original formula for CFZ originates back in 1955, from J.B. Sidgwick’s Amateur Astronomer's Handbook . With modern sensors however, it has been found that CFZ calculated this way is not sufficiently stringent for truly high-resolution work and a value of 1/3 of computed CFZ is a better criterion for optimally sharp focus. This is apparent when comparing the side-by-side images above, with the CFZ defocused image on the right being noticeably bloated.

Based on 1/3 of computed CFZ as the criteria for sharp focus, the computed defocus tolerance has been calculated for the following common focal ratios at a wavelength of 500nm (blue-green light). Additionally, the standard CFZ is also given.

Focal RatioCFZ1/3 CFZ
100.2430.081
80.1560.052
6.30.0960.032
40.0390.013
2.80.0180.006
20.0090.003
1.40.0060.002

For comparison a sheet of A4 paper is typically 0.050 mm thick, so the tolerance for error at fast focal ratios is incredibly demanding. In fact, astronomers using fast focal ratio telescopes in astrophotography usually have temperature compensated focusers since as the components within the telescope expand or contract with temperature.

Having said this newcomer’s will likely not need to focus to within these demands, but this is a demonstration of how critical focus is for astronomers pushing for the best results.

Hyperfocal distance

diagram-hyperfocal3.png
Hyperfocal distance defines the closest point in which objects are in focus

Hyperfocal distance is defined as the minimum distance at which objects are acceptably in focus, when a lens is focused at infinity. This can be useful distance to know when doing nightscape photography where you wish to have foreground objects in focus as well as the stars. It can be estimated as per the following:
formula-hyperfocal-small.pngH is the hyperfocal distance

f is the focal length
N is focal ratio
c is the circle of confusion diameter

The circle of confusion equates to how much a point source is spread out and can be thought of as the amount of smearing of detail. It depends on the format and how much blurring of detail you wish to tolerate, but typical values run from 10-30 microns. If we were to talk critically sharp as per the previous section, then the value for c would be a lot smaller, but this is generally not the case since the main subject is at infinity. Suggested values for “c” are as follows:

Sensor Formatc (mm)Example Cameras
1”0.010Sony RX100
MFT0.015Olympus OMD/Pen, Panasonic MFT
APSc0.020Canon and Nikon Crop cameras
35mm0.030Full frame cameras, eg Canon 6D

As an example, let’s take a full frame camera equipped with a wide angle 24mm focal length lens. The subject will be an image of the milky way with a person standing in the foreground (and standing perfectly still). If we use a focal ratio of 2, how far does the person have to stand to be in focus while the milky way is sharply in focus? From the above formula then we would calculate the following:
formula-hyperfocal-computed.png
Therefore, a person would need to stand at least 10 meters from the camera to be “acceptably sharp”. If they needed to stand closer, then you would need to stop down the lens accordingly.

Focus Techniques

Camera Lens Autofocus

Camera lens autofocus is possible on longer lenses using a bright star, although this depends very much on the camera body itself. You will need to test this yourself. If the moon is available that is another option for autofocus. In general, I haven’t had much success using autofocus with stars, but this was with basic low end DSLR’s with inferior autofocus units, so your mileage may vary.

Camera Liveview

Live view is very handy feature on most modern cameras and can be used to get very good focus quickly and easily. It’s also quite simple as follows:

StepProcess
1Ensure camera is in manual focus mode
2Verify that live view is configured best for low light. This will vary for camera to camera, but look at raising ISO, altering exposure, to see what works the best.
3Aim the camera at a bright star and using either live view or viewing through the viewfinder, get the star as close as you can to be in focus.
4Find a group of bright stars and aim the camera to them
5Using liveview, zoom in and pan around to find a star that is easily visible but not too bright, and using the focuser get the star as sharp as possible. In case your wondering the animation below shows you what a star will look like as it comes to focus.
6If possible zoom in to maximum and refine the zoom. A trick is to adjust the focuser just past best focus, then reverse back then forward again half way (keep track of turns of focuser).
7Find another star in the view, repeating steps 5 and 6.
8Take a single short exposure (maybe 5-10 seconds) and preview the image from one corner to the opposite corner to verify focus is good across the whole frame.
blank-icon-300px.pngYour done! Keep in mind you may have to repeat this as the night progresses and the temperature drops

focus2_pipp.gif

Liveview focusing a star, we simply aim to get the star as bright and small as possible

For best results with live view you may wish to tether a laptop to the camera, assuming there is suitable remote control and live view capability. This is not always the case, but most of the recent Canon DSLR’s work well this way.

Bahtinov mask

There is very simple and easy to use focusing aid called a Bahtinov mask. It is simply a flat screen that fits on the front of the telescope which makes it much easier to find the point of best focus in a telescope. It can also be used also on lenses, but keep in mind the view is dramatically dimmed so you may not be able to get a bright enough star for this work with. An example of a Bahtinov mask design is shown below.

bahtinov.png

Example of Bahtinov mask, with black being the opaque areas, and the white areas being the cutouts. It is sized and shaped to suit a specific lens or telescope

The operation of the mask is best explained by looking at the follow animation that shows how a star looks as the focus is adjusted from one side of focus to the other side of focus. The level of defocus is indicated in the animation in the information panel and perfect focus occurs when that value is 0 microns. Notice at the very point of perfect focus the 3 pikes all align in a symmetrical cross with a point in the center. This is what we strive for when using a Bahtinov mask.
Simulation_of_a_bahtinov_mask_diffraction_pattern_when_focusing.gif

Bahtinov mask focusing simulation. Animation courtesy of Niels Noordhoek

Bahtinov masks are very easy to make, and an ideal material is black corflute which can be easily cut with a knife and is sturdy enough to keep its shape (as well as being dew resistant). To make one go to astrojargon.net input the parameters for your lens/telescope and generate an SVG file. Print out the SVG file and use this as a template to cut out the mask. Alternatively, you can purchase premade masks, but they need to be designed specifically for the lens or telescope you are using.

More sophisticated Focusing Methods

There are more sophisticated methods available that are more precise than the above techniques. These are implemented in many astronomical software packages, so let’s briefly look at some of these now.

FWHM : A method that constantly monitor’s a stars brightness profile using a Full width at half maximum calculation. The goal is to minimize the stars FWHM.

Intensity : Intensity is a measure of the central peak brightness of a star. As focus is reached more light is concentrated at the center of the stars brightness profile, so the goal is to maximize intensity.

Contrast : Contrast methods look at the transitions between detail, so for example the edge of a planet against the dark sky background. The goal is to have the steepest brightness gradient between the background and the planet edge.

In addition to these techniques electric focusers are often fitted to telescopes to prevent bumping and allow more controlled focusing.

Conclusions

Once tracking and focusing methods have been mastered it’s time to do some actual astrophotography! In the next instalment I would talk about different types of astrophotography including piggyback and prime focus methods (as applied to planetary and deep sky objects).

References/Further reading

1. J.B. Sidgwick. Amateur Astronomer's Handbook (1955)
2. D.S.Goldman, B. Megdal. Get Focused! (2010)
Aberrator

NOTE: All images and diagrams are the author’s unless otherwise noted. Please credit me if using these.

Sort:  

Very interesting. It's always fascinating and strange to see light behave as a wave since even though we know it does, it's not always readily visible in everyday life.

Do you use homemade Bahtinov masks when you observe, and if not have you noticed a major difference between purchased and DIY ones? I'm wondering if there would be any difference in operation since it seems to just be a specially made array of slits.

I've only ever used homemade ones, but most of the time if I want really good focus I will use the FWHM method on a star. But the Baht masks are revelation if you've only ever done by eye focusing - just line up the crosshairs!

It's very interesting that you use FWHM - I've seen that exact concept come up a lot in several physics courses, but always about oscillations or electrical filters (Q-factor basically). Funny how stuff like that comes up in seemingly disparate fields. But minimizing the FWHM for a telescope would be analogous to increasing the Q-factor for a RC filter, which is optimal and gets a "sharper" peak - which for a telescope would put the object in sharper focus. So I suppose it makes sense!

I checked that out and it definitely is the same concept, even if the profiles are not the same. Good to know!

Great post!! I just realized to have missed the third one, so I have to start from there and come back later :D

Thank you asgarth!

Over my head, but I enjoyed the learning experience and will now have to go back through your older posts to try and make sense. Thank you.

Hi @gio6 , the next installment should be easier on the head as i start to look at more hands on astrophotography.

World of Photography Beta V1.0
>Learn more here<

You have earned 5.35 XP for sharing your photo!

Daily Stats
Daily photos: 1/2
Daily comments: 0/5
Multiplier: 1.07
Server time: 08:30:27
Account Level: 1
Total XP: 149.22/200.00
Total Photos: 18
Total comments: 13
Total contest wins: 1
And have also received a 0.30 percent upvote.

Follow: @photocontests
Join the Discord channel: click!
Play and win SBD: @fairlotto
Daily Steem Statistics: @dailysteemreport
Learn how to program Steem-Python applications: @steempytutorials
Developed and sponsored by: @juliank

Your passion for astrophotography is obvious in your well presented posts Terry. Am resteeming in the hope that it will attract other keen astro-photographers. Have a wonderful Brissy day!

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 58613.96
ETH 3153.58
USDT 1.00
SBD 2.43