Base#

class Base(*args, **kwargs)[source]#

Bases: quickobj

The parent class for Sim and Module objects

Attributes

now

Shortcut to self.t.now()

ti

Get the current module timestep

timevec

Shortcut to self.t.timevec

Methods

disp(output=False, **kwargs)[source]#

Display the full object

property ti#

Get the current module timestep

property now#

Shortcut to self.t.now()

property timevec#

Shortcut to self.t.timevec

copy(die=True)[source]#

Perform a deep copy of the module/sim

Parameters:

die (bool) – whether to raise an exception if copy fails (else, try a shallow copy)