Warning, file /education/kstars/kstars/ekos/capture/exposurecalculator/cameragainreadnoise.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #ifndef CAMERAGAINREADNOISE_H 0010 #define CAMERAGAINREADNOISE_H 0011 0012 #include <QAbstractItemModel> 0013 QT_BEGIN_NAMESPACE 0014 namespace OptimalExposure 0015 { 0016 0017 class CameraGainReadNoise 0018 { 0019 0020 public: 0021 CameraGainReadNoise() {} 0022 CameraGainReadNoise(int gain, double readNoise); 0023 0024 int getGain(); 0025 void setGain(int newGain); 0026 double getReadNoise(); 0027 void setReadNoise(double newReadNoise); 0028 0029 private: 0030 int gain = 0; 0031 double readNoise = 0.0; 0032 0033 }; 0034 0035 0036 } 0037 QT_END_NAMESPACE 0038 #endif // CAMERAGAINREADNOISE_H 0039 0040 0041