#NEWLINE# def add_elevation( self , delta ) : #NEWLINE# #INDENT# '\n        Adjusts elevation data for segment.\n\n        Parameters\n        ----------\n        delta : float\n            Elevation delta in meters to apply to track\n        ' #NEWLINE# mod_logging . debug ( ( 'delta = %s' % delta ) ) #NEWLINE# if ( not delta ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# for track_point in self . points : #NEWLINE# #INDENT# if ( track_point . elevation is not None ) : #NEWLINE# #INDENT# track_point . elevation += delta