GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
MultiGridSmoother Class Reference

Warning: Not tested yet. Class for doing adaptive smoothing using multiply resolution grids. More...

#include <image_processing.h>

Public Member Functions

 MultiGridSmoother (double center[], std::size_t Nx, std::size_t Ny, double resolution)
 
 MultiGridSmoother (double center[], std::size_t Nx, double resolution)
 
PosType getHighestRes ()
 resolution of finest grid from which interpolation is done
 
PosType getLowestRes ()
 resolution of coarsest grid from which interpolation is done
 
void add_particles (std::vector< PosType > x, std::vector< PosType > y)
 Add particles to the map. These do not need to be kept in memory after they are added.
 
void output_map (PixelMap< double > &map, int Nsmooth)
 Output a map at the resolution of the map smoothed so that no superpixel as less than Nsmooth particles.
 
void smooth (int Nsmooth, PixelMap< double > &map)
 

Detailed Description

Warning: Not tested yet. Class for doing adaptive smoothing using multiply resolution grids.

Constructor & Destructor Documentation

◆ MultiGridSmoother()

MultiGridSmoother::MultiGridSmoother ( double center[],
std::size_t Nx,
std::size_t Ny,
double resolution )
Parameters
centercenter of region to be gridded
Nxnumber of pixels on x-axis in the highest resolution grid
Nynumber of pixels on y-axis in the highest resolution grid
resolutionhighest resolution to be used, usually the final desired resolution

Member Function Documentation

◆ output_map()

void MultiGridSmoother::output_map ( PixelMap< double > & map,
int Nsmooth )

Output a map at the resolution of the map smoothed so that no superpixel as less than Nsmooth particles.

find if gids overlap at all


The documentation for this class was generated from the following files: