Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
CanonicalFilter.h
Go to the documentation of this file.
1
7
8#ifndef CANONICALFILTER_H
9#define CANONICALFILTER_H
10
11#include "Schematic/Network.h"
12#include "Schematic/component.h"
15
26class CanonicalFilter : public Network {
27public:
30
32 virtual ~CanonicalFilter() {}
33
36 CanonicalFilter(FilterSpecifications FS) {Specification = FS;}
37
39 void synthesize();
40
43 void setSemilumpedMode(bool mode) { this->semilumped = mode; }
44
45private:
46 struct FilterSpecifications Specification;
47 bool semilumped = false;
48 std::deque<double> gi;
49
50 //*********** Schematic synthesis ********************
51
53 void SynthesizeLPF();
54
56 void SynthesizeSemilumpedLPF();
57
59 void SynthesizeHPF();
60
62 void SynthesizeBPF();
63
65 void SynthesizeBSF();
66};
67
68#endif // CANONICALFILTER_H
Calculation of the normalized lowpass filter coefficients (definition)
Synthesize microstrip lines (definition)
Abstract base class for network implementations.
Synthesizes classical ladder filter topologies from normalized prototypes.
Definition CanonicalFilter.h:26
CanonicalFilter(FilterSpecifications FS)
Constructor with filter specifications.
Definition CanonicalFilter.h:36
void synthesize()
Performs complete filter synthesis from specifications.
Definition CanonicalFilter.cpp:10
void setSemilumpedMode(bool mode)
Enables semi-lumped implementation mode.
Definition CanonicalFilter.h:43
virtual ~CanonicalFilter()
Destructor.
Definition CanonicalFilter.h:32
CanonicalFilter()
Default constructor.
Definition CanonicalFilter.h:29
Abstract base class for network implementations.
Definition Network.h:27
Graphical component representation in schematic (definition)