py21cmfast.outputs.HaloField.__init__

HaloField.__init__(*, astro_params: py21cmfast.inputs.AstroParams | None = None, flag_options: py21cmfast.inputs.FlagOptions | None = None, **kwargs)

Base type for output structures from C functions.

Parameters:
  • random_seed – Seed associated with the output.

  • dummy – Specify this as a dummy struct, in which no arrays are to be initialized or computed.

  • initial – Specify this as an initial struct, where arrays are to be initialized, but do not need to be computed to pass into another struct’s compute().