A generator for heatmap images based on simulation log data.
|
__init__(self,
mapfilename,
minlon,
maxlon,
minlat,
maxlat,
dotsize=30)
Initialize the heatmap generation object. |
source code
|
|
|
_colorize(self,
img,
colors,
opacity)
Use the colorscheme selected to color the image densities. |
source code
|
|
|
__dotImage(self,
size)
Returns a image of the dot that is used for drawing heatmap. |
source code
|
|
|
__translate(self,
xy)
Translates x,y coordinates into pixel offsets of a map. |
source code
|
|
|
generate(self,
logfilename,
delimiter,
t,
x,
y,
t_start,
t_end,
step,
reset_dotlayer_every_step=False)
Generates the heapmap PNG image files. |
source code
|
|
|
mencode_video(self,
location,
files,
filetype,
videofile)
[Bad Video Quality] Encodes a set of image files to a video file
using mencoder. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|