See what a vector is recording from ?

Anything that doesn't fit elsewhere.
Post Reply
Feanor
Posts: 17
Joined: Fri Nov 28, 2014 3:03 pm

See what a vector is recording from ?

Post 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
ted
Site Admin
Posts: 5784
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: See what a vector is recording from ?

Post 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.
Feanor
Posts: 17
Joined: Fri Nov 28, 2014 3:03 pm

Re: See what a vector is recording from ?

Post 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.
ted
Site Admin
Posts: 5784
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: See what a vector is recording from ?

Post 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
Feanor
Posts: 17
Joined: Fri Nov 28, 2014 3:03 pm

Re: See what a vector is recording from ?

Post by Feanor »

OK, thank you.
Post Reply