SWDatabase
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions
common.module_map2D Namespace Reference

Classes

class  Map2DError
 
class  Map2D
 Class representing 2D magnetogram. More...
 

Functions

def compare
 Compare 2 map2D elements. More...
 
def diff
 For 2 maps on the same grid, return a map with difference between map1 and map2. More...
 
def rel_diff
 For 2 maps on the same grid, return a map with relative difference (pourcent) between map1 and map2. More...
 
def lower_resolution
 Transform a map2D into another map2D with lower resolution. More...
 

Function Documentation

def common.module_map2D.compare (   map1,
  map2,
  verbose = 0 
)

Compare 2 map2D elements.

Returns
boolean True if identical
def common.module_map2D.diff (   map1,
  map2 
)

For 2 maps on the same grid, return a map with difference between map1 and map2.

Here is the caller graph for this function:

def common.module_map2D.lower_resolution (   map2D_in,
  N 
)

Transform a map2D into another map2D with lower resolution.

For each (i,j) point of map2D_out, take the mean of a NxN map2D_in sub-matrix.

def common.module_map2D.rel_diff (   map1,
  map2 
)

For 2 maps on the same grid, return a map with relative difference (pourcent) between map1 and map2.