colon : in a mod file

NMODL and the Channel Builder.
Post Reply
maria.kesa
Posts: 36
Joined: Thu Nov 12, 2015 10:45 am

colon : in a mod file

Post by maria.kesa »

What does the following notation mean in NEURON?

Code: Select all

lambda1 = 80 : 60 : 12 :80: 20 : 15 :8 :5: 2.5
Thanks,
Maria
ted
Site Admin
Posts: 6289
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: colon : in a mod file

Post by ted »

maria.kesa wrote:What does the following notation mean in NEURON?
You're asking about one of the mod files in ModelDB entry 150288, and you meant to ask "what does a colon mean in the NMODL programming language." It's NMODL's single-line comment delimiter. In this statement
lambda1 = 80 : 60 : 12 :80: 20 : 15 :8 :5: 2.5
everything to the right of the first colon is a comment. I'd guess that the model authors tried several different values for this parameter, and left a trail of those values in the comment.

NMODL is discussed in considerable detail in chapter 9 of The NEURON Book.
maria.kesa
Posts: 36
Joined: Thu Nov 12, 2015 10:45 am

Re: colon : in a mod file

Post by maria.kesa »

Thank you so much, Ted. I'm reading the book, but it's taking some time.
Post Reply