Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Tools
Filtering
LowpassPrototypeCoeffs.h
1
/*
2
* Copyright (C) 2019-2025 Andrés Martínez Mera - andresmmera@protonmail.com
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef LOWPASSPROTOTYPECOEFFS_H
19
#define LOWPASSPROTOTYPECOEFFS_H
20
#include "../../Schematic/Network.h"
21
#include "../../Schematic/structures.h"
22
#include <QDebug>
23
#include <deque>
24
25
class
LowpassPrototypeCoeffs
{
26
public
:
27
LowpassPrototypeCoeffs
(
FilterSpecifications
);
28
std::deque<double> getCoefficients();
29
30
private
:
31
FilterSpecifications
Specification;
32
33
std::deque<double> calcButterworth_gi();
34
std::deque<double> calcChebyshev_gi();
35
std::deque<double> calcBessel_gi();
36
std::deque<double> calcGaussian_gi();
37
std::deque<double> calcLegendre_gi();
38
};
39
40
#endif
// LOWPASSPROTOTYPECOEFFS_H
LowpassPrototypeCoeffs
Definition
LowpassPrototypeCoeffs.h:25
FilterSpecifications
Definition
structures.h:115
Generated by
1.9.8