Skip to content

Commit fe55400

Browse files
author
Stefan Bender
committed
coding style
Before starting to modify the code, change its coding style to suit us. This was generated with astyle by calling astyle --style=kr --indent=force-tab --align-pointer=name \ --unpad-paren --pad-oper --pad-header *.cpp *.h
1 parent 8860125 commit fe55400

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+8145
-8386
lines changed

Ausdrucke.cpp

+442-438
Large diffs are not rendered by default.

Ausdrucke.h

+13-13
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@
2323
using namespace std;
2424

2525
int Plot_2xy(string Arbeitsverzeichnis, string Dateiname,
26-
string title, string xlabel, string ylabel,
27-
double* x1,double*y1, double* x2,double* y2,
28-
int Startindex,int Endindex,
29-
double Mittelwert, double Fehler);
30-
int Plot_Slantcoloumns_polyfit_MgI(string Arbeitsverzeichnis,string Dateiname, string title, double* WL,int Startind,int Endind,
31-
double* WL_fein,int Startind_fein,int Endind_fein,
32-
double* Limb,double* Fitlimb, double *Sonne, double* Fitsonne, double* Quotient, double* Fitquotient);
33-
int Plot_Spektren_und_Quotient(string Arbeitsverzeichnis,string Dateiname, string title, double* WL,int Startind,int Endind,
34-
double* Limb,double* Limb_error ,double *Sonne, double* Quotient, double* Quotient_error);
35-
int Plot_Quotient_mit_Fehler(string Arbeitsverzeichnis,string Dateiname, string title, double* WL,int Startind,int Endind,
36-
double* Quotient, double* Quotient_error, double* Quotient_stabw);
26+
string title, string xlabel, string ylabel,
27+
double *x1, double *y1, double *x2, double *y2,
28+
int Startindex, int Endindex,
29+
double Mittelwert, double Fehler);
30+
int Plot_Slantcoloumns_polyfit_MgI(string Arbeitsverzeichnis, string Dateiname, string title, double *WL, int Startind, int Endind,
31+
double *WL_fein, int Startind_fein, int Endind_fein,
32+
double *Limb, double *Fitlimb, double *Sonne, double *Fitsonne, double *Quotient, double *Fitquotient);
33+
int Plot_Spektren_und_Quotient(string Arbeitsverzeichnis, string Dateiname, string title, double *WL, int Startind, int Endind,
34+
double *Limb, double *Limb_error , double *Sonne, double *Quotient, double *Quotient_error);
35+
int Plot_Quotient_mit_Fehler(string Arbeitsverzeichnis, string Dateiname, string title, double *WL, int Startind, int Endind,
36+
double *Quotient, double *Quotient_error, double *Quotient_stabw);
3737

3838

3939
//int Plot_Slantcoloumns_smooth
40-
int Plots_Zusammenfassen(string Pfad_multips2pdf,string Pfad_multips2ps,
41-
string Name_pdf_Datei, vector<string> Liste_der_ps_Dateinamen);
40+
int Plots_Zusammenfassen(string Pfad_multips2pdf, string Pfad_multips2ps,
41+
string Name_pdf_Datei, vector<string> Liste_der_ps_Dateinamen);
4242

4343

4444
#endif /* AUSDRUCKE_HH_ */

Ausgewertete_Messung_Limb.h

+41-41
Original file line numberDiff line numberDiff line change
@@ -29,53 +29,53 @@ using namespace std;
2929

3030
class Ausgewertete_Messung_Limb
3131
{
32-
public:
33-
inline void Ausgabe_auf_Bildschirm();
32+
public:
33+
inline void Ausgabe_auf_Bildschirm();
3434
// Membervariablen
35-
// Ergebnisse
36-
double m_Zeilendichte;
37-
double m_Fehler_Zeilendichten;
38-
// Zwischenergebnisse
39-
double m_Deklination;
40-
double m_Sonnen_Longitude;
41-
// Wellenlänge des Übergangs
42-
double m_Wellenlaenge;
43-
//Datum
44-
int m_Jahr;
45-
int m_Monat;
46-
int m_Tag; //Uhrzeit ist wichtig für Längengrad der Sonne
47-
int m_Stunde;
48-
int m_Minute;
49-
// Geolocation
50-
double m_Lattidude_Sat;
51-
double m_Longitude_Sat;
52-
double m_Hoehe_Sat;
53-
double m_Lattidude_TP;
54-
double m_Longitude_TP;
55-
double m_Hoehe_TP;
56-
double m_Erdradius;
35+
// Ergebnisse
36+
double m_Zeilendichte;
37+
double m_Fehler_Zeilendichten;
38+
// Zwischenergebnisse
39+
double m_Deklination;
40+
double m_Sonnen_Longitude;
41+
// Wellenlänge des Übergangs
42+
double m_Wellenlaenge;
43+
//Datum
44+
int m_Jahr;
45+
int m_Monat;
46+
int m_Tag; //Uhrzeit ist wichtig für Längengrad der Sonne
47+
int m_Stunde;
48+
int m_Minute;
49+
// Geolocation
50+
double m_Lattidude_Sat;
51+
double m_Longitude_Sat;
52+
double m_Hoehe_Sat;
53+
double m_Lattidude_TP;
54+
double m_Longitude_TP;
55+
double m_Hoehe_TP;
56+
double m_Erdradius;
5757
};
5858

5959
// inline Implementierungen
6060
inline void Ausgewertete_Messung_Limb::Ausgabe_auf_Bildschirm()
6161
{
62-
cout<<"m_Zeilendichte : "<<"\t"<<m_Zeilendichte<<"\n";
63-
cout<<"m_Fehler_Zeilendichten : "<<"\t"<<m_Fehler_Zeilendichten<<"\n";
64-
cout<<"m_Deklination : "<<"\t"<<m_Deklination<<"\n";
65-
cout<<"m_Sonnen_Longitude : "<<"\t"<<m_Sonnen_Longitude<<"\n";
66-
cout<<"Wellenlänge des Übergangs: "<<"\t"<<m_Wellenlaenge<<"\n";
67-
cout<<"Jahr : "<<"\t"<<m_Jahr<<"\n";
68-
cout<<"Monat : "<<"\t"<<m_Monat<<"\n";
69-
cout<<"Tag : "<<"\t"<<m_Tag<<"\n";
70-
cout<<"Stunde : "<<"\t"<<m_Stunde<<"\n";
71-
cout<<"Minute : "<<"\t"<<m_Minute<<"\n";
72-
cout<<"m_Lattidude_Sat : "<<"\t"<<m_Lattidude_Sat <<"\n";
73-
cout<<"m_Longitude_Sat : "<<"\t"<<m_Longitude_Sat <<"\n";
74-
cout<<"m_Hoehe_Sat : "<<"\t"<<m_Hoehe_Sat <<"\n";
75-
cout<<"m_Lattidude_TP : "<<"\t"<<m_Lattidude_TP <<"\n";
76-
cout<<"m_Longitude_TP : "<<"\t"<<m_Longitude_TP <<"\n";
77-
cout<<"m_Hoehe_TP : "<<"\t"<<m_Hoehe_TP <<"\n";
78-
cout<<"m_Erdradius : "<<"\t"<<m_Erdradius <<"\n";
62+
cout << "m_Zeilendichte : " << "\t" << m_Zeilendichte << "\n";
63+
cout << "m_Fehler_Zeilendichten : " << "\t" << m_Fehler_Zeilendichten << "\n";
64+
cout << "m_Deklination : " << "\t" << m_Deklination << "\n";
65+
cout << "m_Sonnen_Longitude : " << "\t" << m_Sonnen_Longitude << "\n";
66+
cout << "Wellenlänge des Übergangs: " << "\t" << m_Wellenlaenge << "\n";
67+
cout << "Jahr : " << "\t" << m_Jahr << "\n";
68+
cout << "Monat : " << "\t" << m_Monat << "\n";
69+
cout << "Tag : " << "\t" << m_Tag << "\n";
70+
cout << "Stunde : " << "\t" << m_Stunde << "\n";
71+
cout << "Minute : " << "\t" << m_Minute << "\n";
72+
cout << "m_Lattidude_Sat : " << "\t" << m_Lattidude_Sat << "\n";
73+
cout << "m_Longitude_Sat : " << "\t" << m_Longitude_Sat << "\n";
74+
cout << "m_Hoehe_Sat : " << "\t" << m_Hoehe_Sat << "\n";
75+
cout << "m_Lattidude_TP : " << "\t" << m_Lattidude_TP << "\n";
76+
cout << "m_Longitude_TP : " << "\t" << m_Longitude_TP << "\n";
77+
cout << "m_Hoehe_TP : " << "\t" << m_Hoehe_TP << "\n";
78+
cout << "m_Erdradius : " << "\t" << m_Erdradius << "\n";
7979
}
8080

8181

Ausgewertete_Messung_Nadir.h

+45-45
Original file line numberDiff line numberDiff line change
@@ -17,53 +17,53 @@ using namespace std;
1717

1818
class Ausgewertete_Messung_Nadir
1919
{
20-
public:
21-
inline void Ausgabe_auf_Bildschirm();
22-
// Membervariablen
23-
//Ergebnisse
24-
double m_Zeilendichte;
25-
double m_Fehler_Zeilendichten;
26-
// Zwischenergebnisse
27-
double m_Deklination;
28-
double m_Sonnen_Longitude;
29-
// Zusatzinformationen
30-
double m_Wellenlaenge; //Übergangswellenlänge
31-
// Datum
32-
int m_Jahr;
33-
int m_Monat;
34-
int m_Tag;
35-
int m_Stunde;
36-
int m_Minute;
37-
// Geolokationen
38-
double m_Lattitude_Sat;
39-
double m_Longitude_Sat;
40-
double m_Hoehe_Sat;
41-
double m_Lattitude_Ground;
42-
double m_Longitude_Ground;
43-
double m_Erdradius;
20+
public:
21+
inline void Ausgabe_auf_Bildschirm();
22+
// Membervariablen
23+
//Ergebnisse
24+
double m_Zeilendichte;
25+
double m_Fehler_Zeilendichten;
26+
// Zwischenergebnisse
27+
double m_Deklination;
28+
double m_Sonnen_Longitude;
29+
// Zusatzinformationen
30+
double m_Wellenlaenge; //Übergangswellenlänge
31+
// Datum
32+
int m_Jahr;
33+
int m_Monat;
34+
int m_Tag;
35+
int m_Stunde;
36+
int m_Minute;
37+
// Geolokationen
38+
double m_Lattitude_Sat;
39+
double m_Longitude_Sat;
40+
double m_Hoehe_Sat;
41+
double m_Lattitude_Ground;
42+
double m_Longitude_Ground;
43+
double m_Erdradius;
4444
};
4545
inline void Ausgewertete_Messung_Nadir::Ausgabe_auf_Bildschirm()
4646
{
47-
// Ergebnisse
48-
cout<<"m_Zeilendichte : "<<"\t"<<m_Zeilendichte<<"\n";
49-
cout<<"m_Fehler_Zeilendichten : "<<"\t"<<m_Fehler_Zeilendichten<<"\n";
50-
// Zwischenergebnisse
51-
cout<<"m_Deklination : "<<"\t"<<m_Deklination<<"\n";
52-
cout<<"m_Sonnen_Longitude : "<<"\t"<<m_Sonnen_Longitude<<"\n";
53-
// Zusatzinfo
54-
cout<<"Wellenlänge des Übergangs: "<<"\t"<<m_Wellenlaenge<<"\n";
55-
// Datum
56-
cout<<"m_Jahr: "<<"\t"<<m_Jahr<<"\n";
57-
cout<<"m_Monat: "<<"\t"<<m_Monat<<"\n";
58-
cout<<"m_Tag: "<<"\t"<<m_Tag<<"\n";
59-
cout<<"m_Stunde: "<<"\t"<<m_Stunde<<"\n";
60-
cout<<"m_Minute: "<<"\t"<<m_Minute<<"\n";
61-
// Geolokationen
62-
cout<<"m_Lattitude_Sat: "<<"\t"<<m_Lattitude_Sat<<"\n";
63-
cout<<"m_Longitude_Sat: "<<"\t"<<m_Longitude_Sat<<"\n";
64-
cout<<"m_Hoehe_Sat: "<<"\t"<<m_Hoehe_Sat<<"\n";
65-
cout<<"m_Lattidude_Ground: "<<"\t"<<m_Lattitude_Ground<<"\n";
66-
cout<<"m_Longitude_Ground: "<<"\t"<<m_Longitude_Ground<<"\n";
67-
cout<<"m_Erdradius: "<<"\t"<<m_Erdradius<<"\n";
47+
// Ergebnisse
48+
cout << "m_Zeilendichte : " << "\t" << m_Zeilendichte << "\n";
49+
cout << "m_Fehler_Zeilendichten : " << "\t" << m_Fehler_Zeilendichten << "\n";
50+
// Zwischenergebnisse
51+
cout << "m_Deklination : " << "\t" << m_Deklination << "\n";
52+
cout << "m_Sonnen_Longitude : " << "\t" << m_Sonnen_Longitude << "\n";
53+
// Zusatzinfo
54+
cout << "Wellenlänge des Übergangs: " << "\t" << m_Wellenlaenge << "\n";
55+
// Datum
56+
cout << "m_Jahr: " << "\t" << m_Jahr << "\n";
57+
cout << "m_Monat: " << "\t" << m_Monat << "\n";
58+
cout << "m_Tag: " << "\t" << m_Tag << "\n";
59+
cout << "m_Stunde: " << "\t" << m_Stunde << "\n";
60+
cout << "m_Minute: " << "\t" << m_Minute << "\n";
61+
// Geolokationen
62+
cout << "m_Lattitude_Sat: " << "\t" << m_Lattitude_Sat << "\n";
63+
cout << "m_Longitude_Sat: " << "\t" << m_Longitude_Sat << "\n";
64+
cout << "m_Hoehe_Sat: " << "\t" << m_Hoehe_Sat << "\n";
65+
cout << "m_Lattidude_Ground: " << "\t" << m_Lattitude_Ground << "\n";
66+
cout << "m_Longitude_Ground: " << "\t" << m_Longitude_Ground << "\n";
67+
cout << "m_Erdradius: " << "\t" << m_Erdradius << "\n";
6868
}
6969
#endif /* AUSGEWERTETE_MESSUNG_NADIR_HH_ */

0 commit comments

Comments
 (0)