def get_hr (point):
	"""
        Returns the heart rate exercise at the GPX point. Heart rate is provided by the GPX equipment.
        If not exist 0 is returned

        Parameters
        ----------
        point: point where to get prower

        """

	for extension in point.extensions:
		if extension.tag != 'power':
			for exten in extension:
				if exten.tag == '{http://www.garmin.com/xmlschemas/TrackPointExtension/v1}hr':
					return int(exten.text)

	return 0