resqpy.olio.ab_toolboxΒΆ

Small utility functions related to use of pure binary files.

Functions

binary_file_extension_and_np_type_for_data_type

Returns a file extension suitable for a pure binary array (ab) file of given data type.

cp_binary_filename

Returns a version of the file name with extension adjusted to indicate reseq order and pure binary.

load_array_from_ab_file

Loads a pure binary file into a numpy array, optionally converting to 64 bit.