# modelx.cur_model¶

modelx.cur_model(model=None)[source]

Get and/or set the current model.

If model is given, set the current model to model and return it. model can be the name of a model object, or a model object itself. If model is not given, the current model is returned.