Page 1 of 1

See what a vector is recording from ?

Posted: Fri Jan 18, 2019 12:17 pm
by Feanor
Hello to everyone,

my question is about the following scenario. Say we have a vector that is recording from some variable. Is there a way to check what the vector is recording from, like, an attribute or a method in the vector class that returns this information?

Best regards

Re: See what a vector is recording from ?

Posted: Fri Jan 18, 2019 12:37 pm
by ted
The Programmer's Reference
https://www.neuron.yale.edu/neuron/stat ... index.html
is your friend. Read the documentation of the Vector class.

Re: See what a vector is recording from ?

Posted: Wed Feb 06, 2019 12:14 pm
by Feanor
It is a very good friend, indeed, but this time I couldn't find the answer in the documentation of the Vector class.

Re: See what a vector is recording from ?

Posted: Wed Feb 06, 2019 10:35 pm
by ted
The Vector class documentation mentions no such method because there isn't one. At the present time, the only way to discover what variable a Vector might be recording is to analyze the model's instrumentation code yourself. Start with
grep record *hoc
or
grep record *py

Re: See what a vector is recording from ?

Posted: Thu Mar 07, 2019 8:59 am
by Feanor
OK, thank you.