py21cmfast.outputs.Coeval.save

Coeval.save(fname=None, direc='.', clobber: bool = False)

Save to disk.

This function has defaults that make it easy to save a unique box to the current directory.

Parameters:
  • fname (str, optional) – The filename to write, default a unique name produced by the inputs.

  • direc (str, optional) – The directory into which to write the file. Default is the current directory.

Returns:

str – The filename to which the box was written.