py21cmfast.wrapper.inputs.CosmoTables¶
- class py21cmfast.wrapper.inputs.CosmoTables¶
Class for storing interpolation tables of cosmological functions (e.g. transfer functions, growth factor).
- clone(**kwargs)¶
Make a fresh copy of the instance with arbitrary parameters updated.
- classmethod new(x=None, **kwargs)¶
Create a new instance of the struct.
- Parameters:
x (dict | CosmoTables | None) – Initial values for the struct. If x is a dictionary, it should map field names to their corresponding values. If x is an instance of this class, its attributes will be used as initial values. If x is None, the struct will be initialised with default values.
- Other Parameters:
All other parameters should be passed as if directly to the class constructor
(i.e. as parameter names).
- Parameters:
x (dict | Self | None)
- property cstruct: py21cmfast.wrapper.structs.StructWrapper¶
The object pointing to the memory accessed by C-code for this struct.
- Return type:
- property struct¶
The python-wrapped struct associated with this input object.