-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathschcauer.h
47 lines (38 loc) · 1.6 KB
/
schcauer.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
/***************************************************************************
schcauer.h
----------------
begin : Wed Apr 10 2014
copyright : (C) 2014 by Vadim Kuznetsov
email : ra3xdh@gmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef SCHCAUER_H
#define SCHCAUER_H
#include <QtCore>
#include <complex>
#include <cmath>
#include "filter.h"
class SchCauer : public Filter // Cauer 2-order section
{
private:
void createGenericSchematic(QString &s);
protected:
void calcHighPass();
void calcLowPass();
void calcBandPass();
void calcBandStop();
void createHighPassSchematic(QString &s);
void createLowPassSchematic(QString &s);
void createBandPassSchematic(QString &s);
void createBandStopSchematic(QString &s);
public:
SchCauer(Filter::FilterFunc ffunc_, Filter::FType type_, FilterParam par);
};
#endif // SCHCAUER_H