def read_uic3tag(fh, byteorder, dtype, plane_count):
 assert ((dtype == '2I') and (byteorder == '<'))
 values = fh.read_array('<u4', (2 * plane_count)).reshape(plane_count, 2)
 return {'wavelengths': (values[:, 0] / values[:, 1])}

def read_uic3tag ( fh , byteorder , dtype , plane_count ) : assert ( ( dtype == '2I' ) and ( byteorder == '<' ) ) values = fh . read_array ( '<u4' , ( 2 * plane_count ) ) . reshape ( plane_count , 2 ) return { 'wavelengths' : ( values [ : , 0 ] / values [ : , 1 ] ) }
read metamorph stk uic3tag from file and return as dictionary .