Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //window.h
- #ifndef WINDOWS_H
- #define WINDOWS_H
- #include <QtGui/QMainWindow>
- #include "ui_mutual_inf.h"
- #include "mutual_inf.h"
- #include <algorithm>
- #include <QString>
- #include <math.h>
- #include <QFileDialog>
- #include <QVector>
- #include <stdlib.h>
- #include <qwt_plot.h>
- #include <qwt_plot_curve.h>
- #include <QPointF>
- #include <time.h>
- #include <QPainter.h>
- #include <QFiledialog.h>
- #include <QImagewriter.h>
- #include <QPrinter.h>
- #include <QPicture.h>
- #include <qwt_plot_renderer.h>
- class window : public QMainWindow, public Ui::windowClass
- {
- Q_OBJECT;
- private:
- mutual_inf mut_inf;
- void draw_timeseries(QVector<double> _timeseries_x, QVector<double> _timeseries_y);
- double kopplung_x, timelag_x, noise_x;
- double kopplung_y, timelag_y, noise_y;
- double length, varianz;
- int field_size;
- bool kernel, auto_mi;
- QVector<double> timeseries_x, timeseries_y;
- QVector<QPointF> data_mut;
- //Achsenbeschriftung eine ID geben
- enum Axis {yLeft, yRight, xBottom, xTop, axisCnt};
- //Kernschätzer
- enum kernel_esti {gauss, epa};
- private slots:
- void scale_slider_kopplung_x(int _scale);
- void scale_slider_kopplung_y(int _scale);
- void scale_slider_noise_x(int _scale);
- void scale_slider_noise_y(int _scale);
- void scale_slider_length_timeseries(int _scale);
- void scale_slider_timelag_x(int _scale);
- void scale_slider_timelag_y(int _scale);
- void scale_slider_varianz(int _scale);
- void scale_slider_int_size(int _scale);
- void check_kernel_gauss();
- void check_kernel_epanechnikov();
- // void read_var();
- QVector<QPointF> read_var();
- void exportDocument();
- public:
- window();
- window(QWidget *parent);
- };
- #endif // MUTUAL_INF_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement