#1  
Old 12-11-2015, 10:44 AM
Somnium's Avatar
Somnium (Aidan)
Aidan

Somnium is offline
 
Join Date: Oct 2014
Location: Sydney
Posts: 1,669
To Bias or not to Bias

SO i have read both that you need to take bias images and you don't need to take bias images . given that you are going to take darks, some suggest that the dark images already have the bias data included ... but, isn't the bias data also included in the flat field images ? so when you process the subs, you are subtracting the bias with the darks then adding it in again with the flats therefore you would need a bias only image to subtract it again. with that rabbit hole opened, wouldn't you need to take your flats at the same sensor temp as your subs, darks and Bias'

thoughts ?
Reply With Quote
  #2  
Old 12-11-2015, 11:10 AM
Peter Ward's Avatar
Peter Ward
Galaxy hitchhiking guide

Peter Ward is offline
 
Join Date: Dec 2007
Location: The Shire
Posts: 8,106
Quote:
Originally Posted by Somnium View Post
SO i have read both that you need to take bias images and you don't need to take bias images . given that you are going to take darks, some suggest that the dark images already have the bias data included ... but, isn't the bias data also included in the flat field images ? so when you process the subs, you are subtracting the bias with the darks then adding it in again with the flats therefore you would need a bias only image to subtract it again. with that rabbit hole opened, wouldn't you need to take your flats at the same sensor temp as your subs, darks and Bias'

thoughts ?
A bias is a zero second dark exposure, so by definition all darks already have bias information.

Bias is only useful if you want to scale dark frames. If you use an SBIG camera I'd advise against this, as the dark noise is non-linear. You'll get cleaner data by using equivalent time/temperature darks.

Flats should be dark calibrated, hence have both dark and bias removed from them.
Reply With Quote
  #3  
Old 12-11-2015, 11:14 AM
glend (Glen)
Registered User

glend is offline
 
Join Date: Jun 2013
Location: Lake Macquarie
Posts: 7,048
Yes darks contain the original bias content. Bias frames are important for identification of hot/cold pixels in the sensor, and upon subtraction from the darks they serve to remove those artifacts.
Reply With Quote
  #4  
Old 12-11-2015, 11:15 AM
Somnium's Avatar
Somnium (Aidan)
Aidan

Somnium is offline
 
Join Date: Oct 2014
Location: Sydney
Posts: 1,669
makes sense
Reply With Quote
  #5  
Old 12-11-2015, 11:50 AM
Terry B's Avatar
Terry B
Country living & viewing

Terry B is offline
 
Join Date: Mar 2006
Location: Armidale
Posts: 2,789
Remember that your images are "divided" by flats not subtracted. To make this work both the flats and the science images need to have the bias removed. This can be by subtracting a dark from both of them with the bias included or done separately.
Reply With Quote
  #6  
Old 12-11-2015, 02:24 PM
Shiraz's Avatar
Shiraz (Ray)
Registered User

Shiraz is offline
 
Join Date: Apr 2010
Location: ardrossan south australia
Posts: 4,918
Quote:
Originally Posted by Somnium View Post
SO i have read both that you need to take bias images and you don't need to take bias images . given that you are going to take darks, some suggest that the dark images already have the bias data included ... but, isn't the bias data also included in the flat field images ? so when you process the subs, you are subtracting the bias with the darks then adding it in again with the flats therefore you would need a bias only image to subtract it again. with that rabbit hole opened, wouldn't you need to take your flats at the same sensor temp as your subs, darks and Bias'

thoughts ?
In a perfect world, the things that you need to do are:
1. remove the bias+darkcurrent from the lights, so that you only have signal that came from the sky - you can do this by subtracting master dark data taken under the same conditions as the lights.
2. remove the bias+darkcurrent from the flats, so that you only have signal that came from the flat source - to do this you subtract a master flat-dark derived from data taken under the same conditions as the flats (but not necessarily the same conditions as the lights etc).
3. divide the subtracted lights by the master flat obtained from the subtracted flats.

However, there are occasions where you may not have appropriate darks: eg you use sky flats where each flat has a unique exposure, or you do not have any darks taken under exactly the same conditions as the lights. Then Peter's caution re dark non-linearity applies (to all CCDs, not just SBIG) and bias needs to be considered separately.

If you have varying sky flats, it may be OK to accept that the results will not be quite perfect and simply subtract the bias (taken at the flat temperature) from the sky flats in place of step 2 above. This assumes that the dark current in a sky flat exposure will be negligible (which is not too bad an assumption most of the time). It also helps if you clean up the worst hot pixels with a bad pixel substitution, after you do the flat correction on the lights.

If you have darks taken under different conditions from the lights, you may be able to scale the darks for temperature and time, accepting that the dark non-linearity will give you a less than optimum outcome. To scale the darks in any way, you will need to remove the bias (taken at the dark temperature). after scaling the dark data, you will need to subtract it and an appropriate bias from the lights (in place of step 1 above). Alternatively, PI implements a dark scaling based solely on statistics and chooses a scale that minimises the noise in the outcome - this approach should let you get an optimum result using not-quite-matching darks and it is fully automatic (I assume that it performs a bias subtraction, so you will need bias data at the dark temperature).

The PI scaling approach may be usable on variable sky flats as well, but it would possibly be stretching the friendship to try to extrapolate from normal long-exposure darks. It would probably be better to use a set of darks taken at short exposures, more closely related to the sky flat exposures.

At least I think that is the case and I would happily be corrected...

Edit: the more I think about, the more sensible it seems to take as much cal data as possible at the same temp as the lights. It isn't strictly necessary, but it can cut down on the amount of cal data you need in some circumstances (eg, you can use one bias set throughout).

Last edited by Shiraz; 12-11-2015 at 10:59 PM.
Reply With Quote
  #7  
Old 12-11-2015, 02:56 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Quote:
Originally Posted by Shiraz View Post
The PI scaling approach may be usable on variable sky flats as well, but it would possibly be stretching the friendship to try to extrapolate from normal darks. It would probably be better to use a set of darks taken at short exposures, more closely related to the sky flat exposures.

At least I think that is the case and I would happily be corrected...
You are correct, Ray. Using "normal" darks to calibrate flats in PI tends to generate a lot of warning messages "no correlation between master dark and target frames". This is something which commonly freaks out new PI users

For calibrating lights, dark scaling works quite well so long as you're not using RBI pre-flash. With pre-flash you do need to match the light and dark integration times and disable scaling.

I do sky flats so the duration varies, but is typically short. Just calibrating my flats with a master bias (or better still, a super bias) works well.

Cheers,
Rick.
Reply With Quote
  #8  
Old 12-11-2015, 04:39 PM
strongmanmike's Avatar
strongmanmike (Michael)
Highest Observatory in Oz

strongmanmike is offline
 
Join Date: May 2006
Location: Canberra
Posts: 17,170
You often see "dark, bias and flat fames applied" in an image credit line so it can be misleading as to what is really necessary. In a nut shell, if you subtract a dark frame that matches your light (or flat) frame ie. same duration and temperature, then no bias frame is required. You only need to use bias frames if you are scaling your darks so that darks taken under different conditions or of different lengths to your lights, are usable.

In my case with my very low noise H694 chip I see no improvement from subtracting darks anyway so I do neither darks nor bias and rely purely on dithering multiple light frames to remove noise. Of course this is not really possible with most other popular chips used in astroimaging cameras.

Mike
Reply With Quote
  #9  
Old 12-11-2015, 05:08 PM
Slawomir's Avatar
Slawomir (Suavi)
Registered User

Slawomir is offline
 
Join Date: Sep 2014
Location: North Queensland
Posts: 3,240
Since there is literally near zero dark current in my 15-minute subs, currently I have switched to only using a super bias for calibrating flats and lights. In this way I do not introduce any noise to my lights (except for the noise from flats) and super bias removes fixed signal introduced by the camera, however small it is. Dithering and/or bad pixel map (cosmetic correction) takes care of hot pixels.

Having said that, this method may be insufficient for images taken with some cameras, that may benefit from using darks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 11:03 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Testar
Advertisement
Bintel
Advertisement