amnsbr / cubnm

A toolbox for biophysical network modeling on GPUs
https://cubnm.readthedocs.io
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

[ENH] User-defined integration dt #15

Open amnsbr opened 2 months ago

amnsbr commented 2 months ago

Currently neuronal model dt is fixed to 0.1 msec and BOLD dt is fixed to 1 msec. Users should be able to define custom dt's. They are currently hardcoded in the DerivedModel::Constants structs. In addition the integration loop expects BOLD dt to be 10x neuronal dt because there is an inner loop of 10 neuronal model integration steps within each step of BOLD model integration. Therefore, the steps to do this are: