probDistPotTools
index
probDistPotTools.py


 
tool for creating a prohDistPot

 
Functions
       
create_probDistPot(name, Map, sel, potType='diff', CDataFlag=10, sim=0, scale=1)

 
creates a probDistPot. ProbDistPot with given name
 
Map contains the target Map which is an DenstiyGrid object
 
potType: helps in switching between the energy type.
   "diff" which is the default energy function, is based on the squared
   distance between the target density & current density calculated
   "cross_correlation" is based on a cross correlation
A flag that helps in copying the data value of the given map
to either the data value/ Edata value of generated map.
CDataFlag: Takes 4 values 00,01,10,11 
           data of Map  ->  data of grid     00
           data of Map  ->  Edata of grid    01
           Edata of Map ->  data of grid     10 
           Edata of Map ->  Edata of grid    11
           
scale: set the scale for the term

 
Data
        __package__ = None