9#ifndef OPTIMALSUBEXPOSURECALCULATOR_H
10#define OPTIMALSUBEXPOSURECALCULATOR_H
11#include <QAbstractItemModel>
13#include "imagingcameradata.h"
14#include "calculatedgainsubexposuretime.h"
15#include "cameraexposureenvelope.h"
16#include "optimalexposuredetail.h"
19namespace OptimalExposure
23class OptimalSubExposureCalculator
26 OptimalSubExposureCalculator();
27 OptimalSubExposureCalculator(
double aNoiseTolerance,
double aSkyQuality,
double aFocalRatio,
double aFilterCompensation,
28 ImagingCameraData &aCalculationImagingCameraData);
30 CameraExposureEnvelope calculateCameraExposureEnvelope();
32 OptimalExposureDetail calculateSubExposureDetail();
34 double getANoiseTolerance();
35 void setANoiseTolerance(
double newNoiseTolerance);
37 double getASkyQuality();
38 void setASkyQuality(
double newSkyQuality);
40 double getAFocalRatio();
41 void setAFocalRatio(
double newFocalRatio);
43 double getAFilterCompensation();
44 void setAFilterCompensation(
double newFilterCompensation);
46 ImagingCameraData &getImagingCameraData();
47 void setImagingCameraData(ImagingCameraData &aNewCalculationImagingCameraData);
50 int getASelectedGain();
51 void setASelectedGain(
int newSelectedGain);
53 int getASelectedCameraReadMode()
const;
54 void setASelectedCameraReadMode(
int aNewSelectedCameraReadMode);
57 double aNoiseTolerance;
60 double aFilterCompensation;
61 int aSelectedGain = 0;
62 int aSelectedCameraReadMode = 0;
63 ImagingCameraData anImagingCameraData;
67 double calculateCFactor(
double noiseTolerance);
68 double calculateLightPollutionElectronBaseRate(
double skyQuality);
69 double calculateLightPolutionForOpticFocalRatio(
double lightPollutionElectronBaseRate,
double aFocalRatio,
70 double AFilterCompensation);
72 double lightPollutionForOpticFocalRatio);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.