Howdy folks -
i have been discussing calibration of OSC images on another forum, and i've come across a couple of questions and things that need validation. hopefully people that use DSLRs and BPP can fill me in. since i started with PI long before BPP i pretty much never use it, and it's been years since i've used a DSLR or any kind of OSC.
1) from reading the source code to BatchPreProcessing, i believe that:
a. bias subs are not calibrated by the script unless overscan regions are turned on, hence the master bias is usually uncalibrated.
b. dark subs are not calibrated by the script, and so the master dark created is uncalibrated. if dark scaling is desired, the script is doing the equivalent of ticking "calibrate" and "optimize" on the dark master during light calibration.
c. flat subs are calibrated, however, they are calibrated by scaling the closest matching dark. there is no option to calibrate flats with bias only.
is this correct? in particular if c. is correct, then it means that one could prepare a calibrated master flat either external to BPP or by using BPP on only the flats, and in a later run of BPP (when calibrating lights) select this master flat. it will be used by the script untouched while calibrating lights. the flat could in theory be calibrated only with bias frames if the user so desires.
in the context of DSLR astrophotograhy, if you happen to take flats at a different ISO than your lights, this flow would be the only correct way to calibrate your lights. if instead you dumped your lights and flats into the script, assuming the darks and biases have the same ISO as the lights, the flat calibration/scaling will be wrong, as the darks used are not of the same ISO as the flats.
2) flat scaling in OSC cameras
my understanding from reading HAIP is that when OSC images are flat-calibrated, any color bias in the flat is not important. however, it may be important in the sense that at least in pixinsight, a single flat scaling multiplier is computed for the entire flat in CFA form, and so if the flat has a strong color cast, the scaling factor might not be accurate if the histograms of the 3 channels are not similar to one another, that is, the debayered flat is grey when an equal stretch is applied to all 3 channels, such as with STF with the channels locked. also regardless of scaling, if one channel is weak then the flat SNR in that channel is compromised and the calibration may be suboptimal.
is this correct? or will flat scaling be correct despite a color bias in a flat, and the only problem is related to SNR of the weak channel(s)?
thanks,
rob