Kstars

cameragainreadnoise.cpp
1/*
2 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7
8#include <QLoggingCategory>
9#include <QAbstractItemModel>
10#include "cameragainreadnoise.h"
11
12#include <ekos_capture_debug.h>
13
14int OptimalExposure::CameraGainReadNoise::getGain()
15{
16 return gain;
17}
18
19void OptimalExposure::CameraGainReadNoise::setGain(int newGain)
20{
21 gain = newGain;
22}
23
24double OptimalExposure::CameraGainReadNoise::getReadNoise()
25{
26 return readNoise;
27}
28
29void OptimalExposure::CameraGainReadNoise::setReadNoise(double newReadNoise)
30{
31 readNoise = newReadNoise;
32}
33
34
35namespace OptimalExposure
36{
37CameraGainReadNoise::CameraGainReadNoise(int gain, double readNoise) : gain(gain), readNoise(readNoise)
38{
39 // qCInfo(KSTARS_EKOS_CAPTURE) << "CameraGainReadNoise constructor: " << gain << " " << readNoise;
40}
41}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.