math operation

The basics of how to develop, test, and use models.
Post Reply
Posts: 3
Joined: Tue Nov 05, 2019 9:22 am

math operation

Post by elenamerendino »

hi,can I use simple math operations in neuron without import any module?
because i have a sintax error in this line: stim1.interval=(10000\xi)
Site Admin
Posts: 5935
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: math operation

Post by ted »

triggers an error message because \ is not recognized as an operator. Python thinks it is a line continuation mark. hoc doesn't recognize it at all. Search the Programmer's Reference for the term operator, or read Python's own reference materials.
Post Reply