def _calculate_float(self, byte_array):
if len(byte_array) != <NUM_LIT:4>:<EOL><INDENT>return None<EOL><DEDENT>return struct.unpack('<STR_LIT:f>', struct.pack('<STR_LIT>', *byte_array))[<NUM_LIT:0>]<EOL>
Returns an IEEE 754 float from an array of 4 bytes

        :param byte_array: Expects an array of 4 bytes

        :type byte_array: array

        :rtype: float