pyModeS.decoder.bds.bds53 module

pyModeS.decoder.bds.bds53.hdg53(msg)[source]

Magnetic heading, BDS 5,3 message

Parameters

msg (str) – 28 hexdigits string

Returns

angle in degrees to true north (from 0 to 360)

Return type

float

pyModeS.decoder.bds.bds53.ias53(msg)[source]

Indicated airspeed, DBS 5,3 message

Parameters

msg (str) – 28 hexdigits

Returns

indicated arispeed in knots

Return type

int

pyModeS.decoder.bds.bds53.is53(msg)[source]

Check if a message is likely to be BDS code 5,3 (Air-referenced state vector)

Parameters

msg (str) – 28 hexdigits string

Returns

True or False

Return type

bool

pyModeS.decoder.bds.bds53.mach53(msg)[source]

MACH number, DBS 5,3 message

Parameters

msg (str) – 28 hexdigits

Returns

MACH number

Return type

float

pyModeS.decoder.bds.bds53.tas53(msg)[source]

Aircraft true airspeed, BDS 5,3 message

Parameters

msg (str) – 28 hexdigits

Returns

true airspeed in knots

Return type

float

pyModeS.decoder.bds.bds53.vr53(msg)[source]

Vertical rate

Parameters

msg (str) – 28 hexdigits (BDS60) string

Returns

vertical rate in feet/minutes

Return type

int