I would take the following steps.
Remove the camera from the telescope. Cap the sensor and put the camera in a dark room and establish a connection to the computer and set the temperature. I would then take 500 bias subs- this is fast to do but takes a long time to integrate as a master- do nothing with these yet but put them all into a folder called bias. Put that folder into another folder called calibration.
Take another set of subs but this time your going to capture dark frames. The duration needs to be the same length as your light subs- so if your planning to shoot 1 minute light subs then you will need 1 minute darks. Take at least 30 darks and if possible 50 plus. Put these into a folder called darks in your calibration folder.
Clean your camera sensor and put it back on the telescope. Wait until evening when it is dark and take 60 flat frames at 50% of the max ADU of your camera. Put these into your calibration folder into a folder called flats.
Go to PI under scripts and open up the WBPP script. Click folder and point the script to your calibration folder. All the calibration frames will be added from that folder into the script. Configure the option to work with your CFA settings- i.e. RGGB settings or auto for the debayer type and anything under diagnostics that does not look okay. If you get stuck there is an excellent Adam block Youtube tutorial to explain the WBPP settings.
Run the script and it will correctly create your calibration files. The bias & dark master will be good for months- the light master as long as you don't move the camera.
What you have done is produced a set of bias, dak & flats which you will be able to use to calibrate your light subs. If you stick with WBPP and understand all its nuinsances you will be on your way to prodicing great images. I don't know what is wrong with your current calibration but starting from the beginning with these steps should fix the issue.
A lot of people think calibration is easy- it is not and requires care with the right number of calibration frames being taken to integrate and the correct ways to integrate the subs to form the masters. WBPP does this and removes the human error provided you put the right data types in.
One last thing- automation is great when you understand the process but can be bad if you don't understand what is happening. Do things manually- use the calibration flow charts in PI WBPP to see the calibration process visually. You will have a far greater understanding and a much better chance of understanding how to trouble shoot future issues.
Sometimes bringing the files from other applications into PI does not work as well as you would think. PI has everything you need to process an image so try as much as possible to stick with the one tool. It is okay to bring a nearly finished image out for post processing with say Photoshop but until then better to try & use PI as much as possible.
Edited by pyrasanth, 15 September 2021 - 11:32 AM.