parameters: (self, data)
return_statement: return flight.strip()
docstring: Extract flight name
docstring_summary: Extract flight name
docstring_tokens: Extract flight name
function: def adsb_msg_get_flight(self, data):
          """
          Extract flight name
          """
      
          ais_charset = "?ABCDEFGHIJKLMNOPQRSTUVWXYZ????? ???????????????0123456789??????"
      
          flight = ""
      
          flight += ais_charset[data[5] >> 2]
          flight += ais_charset[((data[5] & 3) << 4) | (data[6] >> 4)]
          flight += ais_charset[((data[6] & 15) << 2) | (data[7] >> 6)]
          flight += ais_charset[data[7] & 63]
          flight += ais_charset[data[8] >> 2]
          flight += ais_charset[((data[8] & 3) << 4) | (data[9] >> 4)]
          flight += ais_charset[((data[9] & 15) << 2) | (data[10] >> 6)]
          flight += ais_charset[data[10] & 63]
      
          return flight.strip()
function_tokens: def adsb_msg_get_flight ( self , data ) : ais_charset = "?ABCDEFGHIJKLMNOPQRSTUVWXYZ????? ???????????????0123456789??????" flight = "" flight += ais_charset [ data [ 5 ] >> 2 ] flight += ais_charset [ ( ( data [ 5 ] & 3 ) << 4 ) | ( data [ 6 ] >> 4 ) ] flight += ais_charset [ ( ( data [ 6 ] & 15 ) << 2 ) | ( data [ 7 ] >> 6 ) ] flight += ais_charset [ data [ 7 ] & 63 ] flight += ais_charset [ data [ 8 ] >> 2 ] flight += ais_charset [ ( ( data [ 8 ] & 3 ) << 4 ) | ( data [ 9 ] >> 4 ) ] flight += ais_charset [ ( ( data [ 9 ] & 15 ) << 2 ) | ( data [ 10 ] >> 6 ) ] flight += ais_charset [ data [ 10 ] & 63 ] return flight . strip ( )