def get_total_gain(self, unit="m"): '''Return min elevation. Default unit: m.''' return length_conv(self.total_gain, unit)
def get_max_elev(self, unit="m"): '''Return max elevation in specified unit. Default unit: m.''' return length_conv(self.max_elev, unit)
def get_min_elev(self, unit="m"): '''Return min elevation. Default unit: m.''' return length_conv(self.min_elev, unit)
def get_total_dist(self, unit="m"): '''Return distance in the specified unit. Default unit: meters. Other available units are km, m, mi, nmi, ft, yd, in.''' return length_conv(self.total_dist, unit)