#include "TBTK/PropertyExtractor/Diagonalizer.h"
#include <complex>
using namespace std;
using namespace TBTK;
using namespace Visualization::MatPlotLib;
complex<double> i(0, 1);
int main(){
const unsigned int SIZE = 500;
const double t = -1;
const double mu = -1;
for(unsigned int x = 0; x < SIZE; x++)
const double LOWER_BOUND = -3;
const double UPPER_BOUND = 3;
const unsigned int RESOLUTION = 1000;
propertyExtractor.setEnergyWindow(
LOWER_BOUND,
UPPER_BOUND,
RESOLUTION
);
const double SMOOTHING_SIGMA = 0.03;
const unsigned int SMOOTHING_WINDOW = 101;
dos = Smooth::gaussian(dos, SMOOTHING_SIGMA, SMOOTHING_WINDOW);
Plotter plotter;
plotter.plot(dos);
plotter.save("figures/DOS.png");
= propertyExtractor.calculateWaveFunctions(
{{_a_}},
{_a_}
);
plotter.clear();
plotter.setTitle("Wave function for state 0, 1, and 2.");
for(unsigned int state = 0; state < 3; state++)
plotter.plot({_a_}, state, waveFunctions);
plotter.save("figures/WaveFunctions.png");
}