let ImageType = {LIGHT: "LIGHT"};
let imageType = "LIGHT"
cg = {
// masterBias: {},
// masterDark: {},
masterFlat: {}
};
let statusString = "";
if ( imageType == ImageType.LIGHT )
if ( !cg.masterBias && !cg.masterDark && !cg.masterFlat )
{
statusString +=
"<p><b>No matching Master Bias, Master Dark and Master Flat found.</b><br>" +
"<i>Light frames will be integrated without being calibrated.</i><p>"
}
else if ( !cg.masterBias && !cg.masterDark )
{
statusString +=
"<p><b>Neither Bias nor Dark master file matches.</b><br>" +
"<i>Light frames will not be bias and/or dark subtracted before being calibrated by the Master Flat. This configuration may not completely calibrate Light frames.</i><p>"
}
console.log(statusString)