Skip to content

How to make Multiscale Adaptive Time constant neuron voltage between -65mV-10mV? #1

Description

@russelljjarvis

Hi @dmeliza,
Thanks for writing the awesome MAT neuron model code. I am using the python versions of the code without the CPP core.
I have succeeded in applying a current injection to the neuron and measured the voltage response, however, I am finding that RMP is 0, and the spike peak is at about 10. I am having trouble figuring out which parts of the code to change to force the membrane potential to be in a more biological plausible range.

I am using numba jit to get model evaluation speeds close to C all while still in python.

I have a hunch that if I change some of the zeros in the impulse matrix to -np.sqrt(vr), they would multiply out to vr, but I still feel like that is the wrong way to do it.

My adaption of your code is here:
https://github.com/russelljjarvis/jit_hub/blob/main/mat.py#L97-L107

@rgerkin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions