pyModeS.decoder.bds package¶
Common functions for Mode-S decoding
-
pyModeS.decoder.bds.
infer
(msg, mrar=False)[source]¶ Estimate the most likely BDS code of an message.
- Parameters
msg (str) – 28 hexdigits string
mrar (bool) – Also infer MRAR (BDS 44) and MHR (BDS 45). Defaults to False.
- Returns
BDS version, or possible versions, or None if nothing matches.
- Return type
String or None
-
pyModeS.decoder.bds.
is50or60
(msg, spd_ref, trk_ref, alt_ref)[source]¶ Use reference ground speed and trk to determine BDS50 and DBS60.
- Parameters
msg (str) – 28 hexdigits string
spd_ref (float) – reference speed (ADS-B ground speed), kts
trk_ref (float) – reference track (ADS-B track angle), deg
alt_ref (float) – reference altitude (ADS-B altitude), ft
- Returns
BDS version, or possible versions, or None if nothing matches.
- Return type
String or None
Submodules¶
- pyModeS.decoder.bds.bds05 module
- pyModeS.decoder.bds.bds06 module
- pyModeS.decoder.bds.bds08 module
- pyModeS.decoder.bds.bds09 module
- pyModeS.decoder.bds.bds10 module
- pyModeS.decoder.bds.bds17 module
- pyModeS.decoder.bds.bds20 module
- pyModeS.decoder.bds.bds30 module
- pyModeS.decoder.bds.bds40 module
- pyModeS.decoder.bds.bds44 module
- pyModeS.decoder.bds.bds45 module
- pyModeS.decoder.bds.bds50 module
- pyModeS.decoder.bds.bds53 module
- pyModeS.decoder.bds.bds60 module