parameters: (self, sep=None, fmt='.7e')
return_statement: return sep.join(speeds)
docstring: Format wave-speeds for printing in a table
docstring_summary: Format wave-speeds for printing in a table
docstring_tokens: Format wave - speeds for printing in a table
function: def speed_row(self, sep=None, fmt='.7e'):
          """Format wave-speeds for printing in a table"""
          fmt = '{0:' + fmt + '}'
          speeds = [fmt.format(i) for i in self.speeds()]
          if speeds[0] == speeds[1]:
              speeds[1] = '-'
          if speeds[4] == speeds[5]:
              speeds[5] = '-'
          speeds.pop(3)
          if sep is None:
              return speeds
          return sep.join(speeds)
function_tokens: def speed_row ( self , sep = None , fmt = '.7e' ) : fmt = '{0:' + fmt + '}' speeds = [ fmt . format ( i ) for i in self . speeds ( ) ] if speeds [ 0 ] == speeds [ 1 ] : speeds [ 1 ] = '-' if speeds [ 4 ] == speeds [ 5 ] : speeds [ 5 ] = '-' speeds . pop ( 3 ) if sep is None : return speeds return sep . join ( speeds )