force_model

hhpy.modelling.force_model(model: Union[object, Mapping[KT, VT_co]]) → hhpy.modelling.Model[source]

takes any Model, model object or dictionary and converts to Model

Parameters:model – Mapping or object containing a model
Returns:Model