py21cmfast.wrapper.inputs.CosmoTables ===================================== .. py:class:: py21cmfast.wrapper.inputs.CosmoTables Class for storing interpolation tables of cosmological functions (e.g. transfer functions, growth factor). .. !! processed by numpydoc !! .. py:method:: clone(**kwargs) Make a fresh copy of the instance with arbitrary parameters updated. .. !! processed by numpydoc !! .. py:method:: new(x = None, **kwargs) :classmethod: 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).** .. !! processed by numpydoc !! .. py:property:: cstruct :type: py21cmfast.wrapper.structs.StructWrapper The object pointing to the memory accessed by C-code for this struct. .. !! processed by numpydoc !! .. py:property:: struct The python-wrapped struct associated with this input object. .. !! processed by numpydoc !! .. py:attribute:: transfer_density :type: Table1D .. py:attribute:: transfer_vcb :type: Table1D