amnsbr / cubnm

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

[ENH] User-defined integration dt #15

Closed amnsbr closed 2 months ago

amnsbr commented 4 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:

amnsbr commented 2 months ago

Done in 67d1409eaf345dbf3083b62c762bd74b7718de7d