def write_array(f, grp, array, name):
 atom = tables.Atom.from_dtype(array.dtype)
 ds = f.createCArray(grp, name, atom, array.shape)
 ds[:] = array

def write_array ( f , grp , array , name ) : atom = tables . Atom . from_dtype ( array . dtype ) ds = f . createCArray ( grp , name , atom , array . shape ) ds [ : ] = array
stores array in into group grp of h5 file f under name name .