Wednesday 1 February 2023

Comet stacking with Deep Sky Stacker

 Comet stacking with Deep Sky Stacker



This article is to show how to do all three types of comet stacking with Deep Sky Stacker.
Unfortunately I only have some mediocre data on Comet C/2117 K2 (Panstarrs) so the final result is not as pleasing as I would have wished. Nevertheless the data serve to illustrate how to do comet stacking.

The images were captured with a zero amp glow camera attached to an average quality refractor. Calibration frames could have been used if they were required.

It should be noted that it is not possible to take any short-cuts and still have the method work.

Click on any image to get a closer view

Below is an image of the DSS menu located at the left of the application window.


The first thing to do is to select Open Picture files (light frames) and upload them into Deep Sky Stacker.

Then click on Check all to select all of the picture files


At this point you can select Settings within Options and select Stacking settings.
Then click on the Comet tab and select the type of stack you wish to do. Here we have selected Stars + Comet Stacking


Then click on Register Checked Pictures and make sure that Stack after registering is NOT checked.


Then click on the Advanced tab, use the slider at the top and click on Compute the number of detected stars. Repeatedly try the slider and computing the number of stars until you are detecting about 100 stars if possible. Do not allow it to detect huge numbers of stars.

Then click on OK and registration of the frames will begin.


Select the first image in the list as shown by the arrow below

Then use the sliders at the top right of the application window to make the image (in particular the comet) visible

At the right hand side of the preview window there are 4 icons. We are interested in the bottom two; an icon of a comet and an icon if a disk drive.

The comet icon is to put the system into Edit Comet mode and the disk drive icon is to save the changes to the comet selection and the stars for the current image.

First of all we select Edit Comet mode by clicking on the comet icon to put the system into the mode where we can indicate the position of the comet's nucleus.

We hold down Shift and move the cursor over the comet. How good the position selection is can be seen in the small window at the top left of the preview screen. The selection cursor is green and a message is shown by the cursor that says 'Click to set the comet here'. When you are satisfied that the selection cursor is positioned correctly, then left Click.

Close up of the selection cursor

When you have left clicked, the cursor changes to a purple circle around the comet nucleus and the message changes to 'Click to remove the comet'. Only click on this if you think you need to select the comet nucleus better than you have. If you do click on it, the cursor will change back to the selection cursor.

Close up of the selected comet cursor
When you have clicked on the comet's nucleus and got a purple circle around it, then click on the disk drive icon to save details of the stars and comet position for this image. Then select the next image and repeat the process, remembering to click on the disk drive icon once the comet position has been selected. Repeat this process for every image in the list.

At this point select Settings within Options and select Stacking settings. Click on the Light tab and select Kappa Sigma clipping as the method of combining the images, although you may have to experiment with this setting. This setting can eliminate some possible artifacts..

Click on Stack checked pictures, then click on OK.

Deep Sky Stacker will then compute offsets:

And then automatically proceed to stack the images according to the Comet stacking method chosen.
Be patient when it is stacking both comet and stars. It can take some time depending on the computer you are using. Take the dog for a walk or go and make a cup of tea. Eventually it will finish!

Comet and stars stacking

Comet stacking

Regular (stars) stacking

When stacking has completed for the first method, you can click on Open Picture files and dismiss the folder you will be presented with. Then just at this point you can select Settings within Options and select Stacking settings. Then click on the Comet tab and select the type of stack you wish to do.

When stacking is complete, a file called autosave.tif will have been saved in the Light Images folder. This is a 32 bit stack of the images, which can then be stretched and processed in other software.
Note, it is possible to set the autosaved file to be a FITS file, but I have elected to save the final 32 bit image as a TIF.

Comet + stars stack with no trailing of comet or stars


If you stack by all three methods, three autosave.tif files will be saved; one for each method and numbered so that they are not overwritten.

Comet stack with the stars trailed


Regular stars stack with the comet trailed


I look forward to having other, better data sets to work with. The Comet + stars stack did have a slight artefact of some of the brighter stars flaring slightly. At this point I don't know whether this is a general problem with the procedure, or a property of the data set used. Nevertheless, all three comet stacking methods worked and gave usable results.


A final result
Using the Stars + Comet stacked image and the Stars stacked image, and using a technique of star-removal with StarNet++ V2 , star addition and image blending, I produced this final image without artefacts.