Skip to content

mattiasotgia/Bode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bode Diagrams

Bode diagrams visualization

License

Bode class

Declared in header file Bode/Analysis.h.

Usage

Given a input file (input.txt in the example below) in the format

V_in   V_in(full-scale)   V_out   V_out(full-scale)   T   T(full-scale)   dt   dt(full-scale)

it produces the following image output

bode_visualisation

from the following commands

#include<Bode/Analysis.h>

Bode test("bandpass", "input.txt");

test.SetParGain(1, 3e3, 10); // fit parameters for gain plot
test.SetParPhase(2, 3e3);    // fit parameters for phase plot

test.FitGain();
test.FitPhase();

test.Plot();

SimEngine class

Declared in header file BodeDataSim/SimEngine.h

About

Bode diagrams visualization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published