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 » Fri Jan 18, 2019 12:17 pm

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: 5590
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 » Fri Jan 18, 2019 12:37 pm

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 » Wed Feb 06, 2019 12:14 pm

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: 5590
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 » Wed Feb 06, 2019 10:35 pm

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 » Thu Mar 07, 2019 8:59 am

OK, thank you.

Post Reply