#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 = 400;
const double t = -1;
for(unsigned int x = 0; x < SIZE; x++){
}
const double LOWER_BOUND = -2;
const double UPPER_BOUND = 2;
const unsigned int RESOLUTION = 1000;
propertyExtractor.setEnergyWindow(
LOWER_BOUND,
UPPER_BOUND,
RESOLUTION
);
= propertyExtractor.calculateLDOS({{_a_, IDX_SUM_ALL}});
const double SMOOTHING_SIGMA = 0.02;
const unsigned int SMOOTHING_WINDOW = 51;
ldos = Smooth::gaussian(ldos, SMOOTHING_SIGMA, SMOOTHING_WINDOW);
Plotter plotter;
plotter.plot({_a_, IDX_SUM_ALL}, ldos);
plotter.save("figures/LDOS.png");
= propertyExtractor.calculateWaveFunctions(
{{_a_, _a_}},
{_a_}
);
plotter.clear();
plotter.plot({_a_, 0}, model.
getBasisSize()/2, waveFunctions);
plotter.save("figures/WaveFunction.png");
}