py21cmfast.outputs.PerturbHaloField.__init__

PerturbHaloField.__init__(*, astro_params: Optional[AstroParams] = None, flag_options: Optional[FlagOptions] = 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().