major update; adsb restructure; rename combining util/modes to common.

This commit is contained in:
Junzi Sun
2018-03-28 13:31:24 +02:00
parent ef8f4b3b7f
commit 362b92de7a
26 changed files with 1104 additions and 1010 deletions
+1 -6
View File
@@ -1,9 +1,7 @@
from __future__ import absolute_import, print_function, division
from pyModeS.decoder.bds.bds40 import *
from pyModeS.decoder.bds.bds44 import *
from pyModeS.decoder.bds.bds50 import *
from pyModeS.decoder.bds.bds53 import *
from pyModeS.decoder.bds.bds60 import *
def BDS(msg):
@@ -14,8 +12,5 @@ def BDS(msg):
return infer(msg)
def icao(msg):
import warnings
from pyModeS.decoder.modes import icao
warnings.simplefilter('always', DeprecationWarning)
warnings.warn("pms.ehs.icao() deprecated, please use pms.modes.icao() instead", DeprecationWarning)
from pyModeS.decoder.common import icao
return icao(msg)