# \#functions

**URL:** https://brian.discourse.group/tag/functions/47.md

[Latest](https://brian.discourse.group/latest.md) · [Categories](https://brian.discourse.group/categories.md) · [Tags](https://brian.discourse.group/tags.md)

---

## [Modelling Pinsky and Rinzel cell: Minimum and heaviside step inside equations object](https://brian.discourse.group/t/modelling-pinsky-and-rinzel-cell-minimum-and-heaviside-step-inside-equations-object/1080)

<div class="topic-metadata">

**Author:** [@fleurzeldenrust](https://brian.discourse.group/u/fleurzeldenrust)\
**Replies:** 3\
**Last updated:** [21 November 2023 08:39 UTC](https://brian.discourse.group/t/modelling-pinsky-and-rinzel-cell-minimum-and-heaviside-step-inside-equations-object/1080 "2023-11-21T08:39:28Z")

</div>

Description of problem I am trying to implement the ball-and-stick Pinsky and Rinzel cell. However, some of the state equations use heaviside step functions (example: betacd= (1.0-heaviside(Vd+10.0\*mV))\*((2.0/mV)\*exp((…
