TransferWDM

class hmf.alternatives.wdm.TransferWDM(*args, **kwargs)[source]

A subclass of hmf.transfer.Transfer that mixes in WDM capabilities.

This replaces the standard CDM quantities with WDM-derived ones, where relevant.

In addition to the parameters directly passed to this class, others are available which are passed on to its superclass. To read a standard documented list of (all) parameters, use parameter_info(). If you want to just see the plain list of available parameters, use :meth`get_all_parameters`. To see the actual defaults for each parameter, use get_all_parameter_defaults().

Attributes

Methods

__init__(wdm_mass=3.0, wdm_model=<class 'hmf.alternatives.wdm.Viel05'>, wdm_params=None, **transfer_kwargs)[source]
clone(**kwargs)

Create and return an updated clone of the current object.

classmethod get_all_parameter_defaults(recursive=True)

Dictionary of all parameters and defaults.

classmethod get_all_parameter_names()

Yield all parameter names in the class.

get_dependencies(*q)

Determine all parameter dependencies of the quantities in q.

Parameters:

q (str) – String(s) labelling a quantity

Returns:

deps – A set containing all parameters on which quantities in q are dependent.

Return type:

set

classmethod parameter_info(names=None)

Prints information about each parameter in the class.

Optionally, restrict printed parameters to those found in the list of names provided.

classmethod quantities_available()

Obtain a list of all available output quantities.

update(**kwargs)

Update parameters of the framework with kwargs.

validate()

Perform validation of the input parameters as they relate to each other.