hyperspy.misc.io.utils_readfile module¶
-
hyperspy.misc.io.utils_readfile.
read_boolean
(f, endian)¶ Read a 1-Byte charater from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_byte
(f, endian)¶ Read a 1-Byte charater from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_char
(f, endian)¶ Read a 1-Byte charater from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_double
(f, endian)¶ Read a 8-Byte floating point from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_float
(f, endian)¶ Read a 4-Byte floating point from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_long
(f, endian)¶ Read a 4-Byte integer from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_long_long
(f, endian)¶ Read a 8-Byte integer from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_short
(f, endian)¶ Read a 2-Byte integer from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_ulong
(f, endian)¶ Read a 4-Byte integer from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_ulong_long
(f, endian)¶ Read a 8-Byte integer from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.
-
hyperspy.misc.io.utils_readfile.
read_ushort
(f, endian)¶ Read a 2-Byte integer from file f with a given endianness (byte order). endian can be either ‘big’ or ‘little’.