Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.222 filetofz

filetofz, file, type, dims

Writes into the first 512 bytes of file file a header appropriate for an fz file of the indicated type and dimensions dims, but only if the file contains enough data (beyond the 512-byte header) for an array of the indicated type and dimensions. You can use this routine to transform a file created using, e.g., writeu, to fz format so that a specific type and dimensional structure is associated with it and you can read it with fzread or fzarr.

See also: fzarr, fzread, writeu