Generates a profile file.
|
_calc_most_least(self)
Go through the segments for the ride and find the longest segment,
the lowest elevation, and the highest elevation. |
source code
|
|
|
__init__(self,
ride,
graph_filebase,
graph_dir,
dpi)
Save the passed-in data and generate calculated instance data. |
source code
|
|
|
|
float
|
_normalize_elevation(self,
elevation)
Normalize an elevation in relation to the lowest elevation in the
ride, such that the lowest elevation in the ride will be at an
elevation of zero. |
source code
|
|
|
|
|
|
|
_filter_annotations(self,
annotations)
Take the annotation list and remove annotations that are too close to
the ones next to it, to prevent overlap. |
source code
|
|
list of Annotation
|
|
|
|
|
_plot_profile(self,
distances,
elevations,
length,
annotations)
Graph the distances, elevations, and annotations on the current plot. |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|