-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathautooptim.h
61 lines (41 loc) · 1.71 KB
/
autooptim.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
54
55
56
57
58
59
60
61
#ifndef AUTOOPTIM_H
#define AUTOOPTIM_H
#include <QDialog>
namespace Ui {
class AutoOptim;
}
class AutoOptim : public QDialog
{
Q_OBJECT
public:
explicit AutoOptim(QWidget *parent = nullptr);
QStringList ReadOptimFile(QString filename);
void MarginSimulation(QStringList OptimParams);
void Yield_Analysis(QStringList OptimParams, double standardDevVal);
QVector<QVector<QString>> paramDataArrange(QString paramfile);
void placeParams(QStringList commands,QString tempNetlistFile, QStringList paramListvals,QStringList paramLisnames);
void newParamFileGen(QString oldParamFile, QString newParamFile,QStringList newParamVals);
QStringList newParamGen(QString marginFile, QVector<QVector<QString>> oldParamVector, double Icrit,double RnIc);
QStringList addShuntParam(QStringList oldParamVals, QStringList paramNames, double Icrit,double RnIc);
~AutoOptim();
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void onResetClicked();
QVector<double> MakeRandNum(double meanVal, double sigmaVal, int datacount);
bool CompareOutputs(QString outFile,QString referenceFile);
QStringList readMyData(QString DataFile,QString delim);
void on_buttonBox_helpRequested();
void on_toolButtonNetlist_clicked();
void on_toolButtonSolution_clicked();
void on_toolButtonParam_clicked();
void on_toolButtonTempF_clicked();
void on_toolButtonOutF_clicked();
void on_TestButton_clicked();
void on_radioButtonMargin_clicked();
void on_radioButtonOptimMC_clicked();
void on_radioButtonYield_clicked();
private:
Ui::AutoOptim *ui;
};
#endif // AUTOOPTIM_H