Kstars

cameraexposureenvelope.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 "cameraexposureenvelope.h"
9
10
11namespace OptimalExposure
12{
13double CameraExposureEnvelope::getLightPollutionElectronBaseRate() const
14{
15 return lightPollutionElectronBaseRate;
16}
17
18double CameraExposureEnvelope::getLightPollutionForOpticFocalRatio() const
19{
20 return lightPollutionForOpticFocalRatio;
21}
22
23const QVector<CalculatedGainSubExposureTime> &CameraExposureEnvelope::getASubExposureVector() const
24{
25 return aSubExposureVector;
26}
27
28double CameraExposureEnvelope::getExposureTimeMin() const
29{
30 return exposureTimeMin;
31}
32
33double CameraExposureEnvelope::getExposureTimeMax() const
34{
35 return exposureTimeMax;
36}
37
38CameraExposureEnvelope::CameraExposureEnvelope(
39 double lightPollutionElectronBaseRate,
40 double lightPollutionForOpticFocalRatio,
41 const QVector<CalculatedGainSubExposureTime> &aSubExposureVector,
42 double exposureTimeMin,
43 double exposureTimeMax) :
44 lightPollutionElectronBaseRate(lightPollutionElectronBaseRate),
45 lightPollutionForOpticFocalRatio(lightPollutionForOpticFocalRatio),
46 aSubExposureVector(aSubExposureVector),
47 exposureTimeMin(exposureTimeMin),
48 exposureTimeMax(exposureTimeMax) {}
49
50}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.