Skip to content

[neuron-writer] how can one set the tolerance value? #103

Open
@sanjayankur31

Description

@sanjayankur31

I'm running some sims here and getting lots of nan values. Apparently, to workaround this, one has to reduce the tolerance value used in NEURON:

https://nrn.readthedocs.io/en/8.2.2/hoc/simctrl/cvode.html#CVode.atol

How would one do this while using NeuroML to generate NEURON code? (I don't think we have a way to do it yet?)

A workaround would be to generate the python script and then add a line to it, but this isn't ideal.

Edit: tasks:

  • add Meta tag to LEMS schema (optional, since we don't always validate LEMS files against the schema)
  • annotate Meta in jLEMS (https://docs.neuroml.org/Userdocs/LEMS_elements/Definingcomponenttypes.html#meta -> needs improvement)
  • check that meta tag contents are exposed in writers
  • add special case for handling cvode in neuron writer
  • add example for testing, also in NEURON Showcase
  • update LEMS_TEMPLATE in pyNeuroML to include Meta
  • update LEMSSimulation to add method to include Meta
  • regenerate docs.neuroml.org with update Meta annotation
  • add special case for handling cvode in netpyne writer
  • update lems simulation documentation to include netpyne options

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions