Current version only loads real part of complex data array. Two errors were found.
Error 1 : Easily Fixed
Line 1143 should read : tmp_idat = cast_to_matrix_type(imag_data,matrix_class)
Error 2 : Not sure how to fix
LIne 464 : array_flags = ulong(input_data,mem_read_ptr,2)
my data results in array_flags[0] = 2055 so
LIne 475 : subelement_struct.complex = (flags1 AND '00000800'XL)
is always 0 and
Line 797 : chk_complex = array_flags_data.complex eq 1
is also always 0 and the imaginary data is never read in at line 1114