Source code for pymuscle.model

from numpy import ndarray


[docs]class Model(object): """ Base model class from which other models should inherit """ def __init__( self, motor_unit_count: int ): self.motor_unit_count = motor_unit_count
[docs] def step(self, inputs: ndarray, step_size: float): """ Child classes must implement this method. """ raise NotImplementedError