-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSonnenspektrum.h
53 lines (47 loc) · 1.63 KB
/
Sonnenspektrum.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Sonnenspektrum.h
*
* Copyright (c) 2011-2017 Stefan Bender
* Copyright (c) 2010-2011 Martin Langowski
*
* Initial version created on: 20.04.2010
* Author: Martin Langowski
*
* This file is part of scia_retrieval_2d
*
* scia_retrieval_2d is free software: you can redistribute it or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.
* See accompanying COPYING.GPL2 file or http://www.gnu.org/licenses/gpl-2.0.html.
*/
#ifndef SONNENSPEKTRUM_HH_
#define SONNENSPEKTRUM_HH_
#include <string>
#include <vector>
class Sonnenspektrum
{
public:
// Diese Funktion ist für die Sonnenspektren von GOME von
// Mark Weber
int Laden_GOME(std::string Dateiname, std::string Fallback_Dateiname);
//Sciamachy Sonnenspektrum des Orbits
int Laden_SCIA(std::string Dateiname, std::string Fallback_Dateiname);
void moving_average(int window_size);
void savitzky_golay(int window_size);
void saoref_to_sciamachy();
double get_rad_at_wl(double wl);
void Interpolieren(class Messung_Limb &Messung_Erdschein);
void nicht_interpolieren();
std::vector<double> m_Wellenlaengen; // wie lang sind die eigentlich
std::vector<double> m_Intensitaeten;
// Auf Erdschein-Messungs-Wellenlängen Interpolierte Intensität
// (Wellenlängen sind dann gleich dem ErdscheinWL)
std::vector<double> m_Int_interpoliert;
std::vector<double> m_WL_interpoliert; //für Ausgabe
int m_Anzahl_WL;
double int_ref1, int_ref2;
//Wartungsfunktion
int Speichern(std::string Dateiname); //zur Kontrolle
int Speichern_was_geladen_wurde(std::string Dateiname);
};
#endif /* SONNENSPEKTRUM_HH_ */