Alejandro,
I think have been making an error, duh! I believe I had to first register the original individual calibrated images to the stars and THEN perform the comet head registration. I would be then registering a stars centered set of images.
Instead I was using the calibrated and debayered files in the comet module directly without registration, assuming (falsely!) that the comet module would align them properly. That's why I was confused, I think. Sorry about that.
So are these the proper preliminary steps? :
1.- Calibrate and register the original (comet+background stars) set after calibration, (therefore now have stars registered but comet trailed)
2.- process this set with the comet module to derive a set of registered images with the comet nucleus aligned
3.- Integrate the comet aligned images into a single integrated image (and hopefully stars removed as much as possible with proper rejection)
4.- Subtract the single integrated comet head aligned image from the individual comet aligned images
5.- Then I would get to the more difficult part of removing any residual (subtracted) comet pixels from the set
Thanks for your trouble,
Jim
]