hbmep.BaseModel

Contents

hbmep.BaseModel#

class hbmep.BaseModel(*, key: Array | None = None, toml_path: str | None = None, config: dict | None = None)[source]#

Bases: object

Base class for hbMEP models.

This class provides core functionality for loading and processing datasets, running inference (MCMC) to estimate curves, generating predictions, and plotting datasets and estimated curves.

Notes

  • Subclasses must implement the _model method, which defines the probabilistic model.