Text this: Hierarchical Bayesian modelling of variability and uncertainty in synthetic action potential traces