1.3.72
Loading...
Searching...
No Matches
FluspectB.h
Go to the documentation of this file.
1
20
#ifndef HELIOS_FLUSPECT_B_H
21
#define HELIOS_FLUSPECT_B_H
22
23
#include <cstddef>
24
#include <string>
25
#include <vector>
26
27
namespace
helios {
28
30
struct
FluspectBiochemistry
{
31
float
Cab
= 40.f;
32
float
Cca
= 10.f;
33
float
Cw
= 0.009f;
34
float
Cdm
= 0.012f;
35
float
Cs
= 0.f;
36
float
Cant
= 1.f;
37
float
Cp
= 0.f;
38
float
Cbc
= 0.f;
39
float
N
= 1.5f;
40
float
V2Z
= 0.f;
41
float
fqe
= 0.01f;
42
};
43
49
struct
FluspectOptipar
{
50
std::vector<float> wavelengths_nm;
51
std::vector<float>
nr
;
52
std::vector<float>
Kab
;
53
std::vector<float>
Kca
;
54
std::vector<float>
KcaV
;
55
std::vector<float>
KcaZ
;
56
std::vector<float>
Kdm
;
57
std::vector<float>
Kw
;
58
std::vector<float>
Ks
;
59
std::vector<float>
Kant
;
60
std::vector<float>
Kp
;
61
std::vector<float>
Kcbc
;
62
std::vector<float>
phi
;
63
};
64
66
struct
FluspectKernel
{
68
std::vector<float>
wavelengths_nm
;
69
71
std::vector<float>
refl
;
73
std::vector<float>
tran
;
74
76
std::vector<float>
wle
;
78
std::vector<float>
wlf
;
79
83
std::vector<std::vector<float>>
Mf
;
86
std::vector<std::vector<float>>
Mb
;
87
};
88
90
100
void
loadFluspectOptipar
(
const
std::string &xml_path,
FluspectOptipar
&optipar);
101
103
123
FluspectKernel
computeFluspectKernel
(
const
FluspectBiochemistry
&biochem,
124
const
FluspectOptipar
&optipar,
125
float
excitation_step_nm = 5.f);
126
127
}
// namespace helios
128
129
#endif
// HELIOS_FLUSPECT_B_H
plugins
radiation
include
FluspectB.h
Generated by
1.9.8