some plotting

This commit is contained in:
CDaut 2024-05-25 11:33:31 +02:00
parent 6419e48e61
commit 2302158928
Signed by: clara
GPG key ID: 223391B52FAD4463
10 changed files with 4133 additions and 74 deletions

View file

@ -4,6 +4,7 @@
#include <utk/metrics/RadialSpectrum.hpp>
#define DIMENSION 1025
#define NSAMPLES 4096
int main()
{
@ -17,11 +18,15 @@ int main()
std::cout << "generating samples…" << std::endl;
if(sampler.generateSamples(points, 4096))
if(sampler.generateSamples(points, NSAMPLES))
{
std::cout << "computing spectrum…" << std::endl;
auto result = utk::Spectrum{DIMENSION, true}.compute(points);
std::ofstream pointFile;
pointFile.open("points.txt");
pointFile << NSAMPLES << std::endl;
write_text_pointset("points.txt", points);
std::ofstream file;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

1
utk_experiments/utk Submodule

@ -0,0 +1 @@
Subproject commit a12c408ddac03425444c857a725572bfe6fa4837