Kstars

optimalexposuredetail.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 "optimalexposuredetail.h"
9
10namespace OptimalExposure
11{
12
13
14int OptimalExposureDetail::getSelectedGain() const
15{
16 return selectedGain;
17}
18
19void OptimalExposureDetail::setSelectedGain(int newSelectedGain)
20{
21 selectedGain = newSelectedGain;
22}
23
24double OptimalExposureDetail::getSubExposureTime() const
25{
26 return subExposureTime;
27}
28
29void OptimalExposureDetail::setSubExposureTime(double newSubExposureTime)
30{
31 subExposureTime = newSubExposureTime;
32}
33
34double OptimalExposureDetail::getExposurePollutionElectrons() const
35{
36 return exposurePollutionElectrons;
37}
38
39void OptimalExposureDetail::setExposurePollutionElectrons(double newExposurePollutionElectrons)
40{
41 exposurePollutionElectrons = newExposurePollutionElectrons;
42}
43
44double OptimalExposureDetail::getExposureShotNoise() const
45{
46 return exposureShotNoise;
47}
48
49void OptimalExposureDetail::setExposureShotNoise(double newExposureShotNoise)
50{
51 exposureShotNoise = newExposureShotNoise;
52}
53
54double OptimalExposureDetail::getExposureTotalNoise() const
55{
56 return exposureTotalNoise;
57}
58
59void OptimalExposureDetail::setExposureTotalNoise(double newExposureTotalNoise)
60{
61 exposureTotalNoise = newExposureTotalNoise;
62}
63
64const QVector<OptimalExposureStack> &OptimalExposureDetail::getStackSummary() const
65{
66 return stackSummary;
67}
68
69void OptimalExposureDetail::setStackSummary(const QVector<OptimalExposureStack> &newStackSummary)
70{
71 stackSummary = newStackSummary;
72}
73
74
75OptimalExposureDetail::OptimalExposureDetail(int selectedGain, double subExposureTime, double exposurePollutionElectrons,
76 double exposureShotNoise, double exposureTotalNoise, const QVector<OptimalExposureStack> &stackSummary) :
77 selectedGain(selectedGain),
78 subExposureTime(subExposureTime),
79 exposurePollutionElectrons(exposurePollutionElectrons),
80 exposureShotNoise(exposureShotNoise),
81 exposureTotalNoise(exposureTotalNoise),
82 stackSummary(stackSummary)
83{}
84
85}
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.