8 #ifndef EXPLICIT_MAPMAKING_EIGENSTRUCTURE_HPP_
9 #define EXPLICIT_MAPMAKING_EIGENSTRUCTURE_HPP_
14 #include <boost/filesystem.hpp>
16 namespace fs = boost::filesystem;
24 grid_(grid), vectors_(grid, n_row, n_col), values_(grid, n_row, 1) {}
26 void WeightModes(
Matrix* map, std::function<
double(
double mode_amplitude,
double eigenvalue)> weighting_function);
27 void ThresholdModes(
Matrix* map,
double relative_threshold);
28 void InvertEigenvalues();
29 Matrix WhiteNoiseMap(
double relative_threshold);
30 void Save(fs::path folder,
const std::vector<int>& obspix);
31 void Save(fs::path folder, fs::path obspix_file);
37 double max_eigenvalue_ = 0;
38 std::vector<double>* vectors() {
return vectors_.local_part(); }
39 void SetEigenvalues(std::vector<double>& values,
int root_proc);
40 void SetMaxEigenvalue();
47 #endif // EXPLICIT_MAPMAKING_EIGENSTRUCTURE_HPP_
Distributed matrix (see scalapack)
Handle a scalapack grid of processors.
Definition: eigenstructure.hpp:19
Definition: matrix.hpp:22