Splits the docs down and converts to markdown for better formatting control.
…light layer is added.
Code for saving intermediate frames has been moved from process_light_frame into it's own function. This is called from the main loop not process_light_frame so extra paramaters can be removed meaning the process function has a much clearer purpose and signature.
the elapsed time at the end of the stack.
Have corrected the handling of dark frames so that the averaging is done using a different formula of 1/layer number. This was pointed out as wrong here: http://blog.starcircleacademy.com/2012/10/darkframes/ and the confirmed here: http://www.cambridgeincolour.com/tutorials/image-averaging-noise.htm Also updated the dark frame to be applied using subtraction not difference as this was also incorrect. Updated version to 1.5.
Moved the creation of the new image into new function get_new_image(). This has replaced 2 creation calls in process_dark_frame() and process_light_frame(). Corrected a typo in an error string in the main startrail() function. Added a check for None before deleting the dark_image
…se dark frames
…o use a white list.