GLAMERDOC++
Gravitational Lensing Code Library
|
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) |
Warning: Not tested yet. Class for doing adaptive smoothing using multiply resolution grids.
MultiGridSmoother::MultiGridSmoother | ( | double | center[], |
std::size_t | Nx, | ||
std::size_t | Ny, | ||
double | resolution ) |
center | center of region to be gridded |
Nx | number of pixels on x-axis in the highest resolution grid |
Ny | number of pixels on y-axis in the highest resolution grid |
resolution | highest resolution to be used, usually the final desired resolution |
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