-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New GIDCollection print #13
Conversation
Nice, but I am wondering a bit about the stepping notation
Do we need the curly braces? And maybe we could make the notation even more consistent like this:
and similarly for non-composite. |
@heplesser My idea when adding the curly braces to the stepping notation was to separate number of steps from GIDs, because I thought writing
|
Maybe we should have a little poll on NEST User? I also thought about the Python notation |
@heplesser I like the notation of
be an option? |
I am not totally happy with the notation, since it puts
Should we have a discussion and vote on Monday? |
@heplesser Discussion and vote sounds good! |
From NEST VC: Use Also, the first |
With 97e33f0 we will have the following Printing a primitive
Printing a composite
Printing a sliced composite with more than 7 parts:
Printing a layer:
@heplesser @hakonsbm what do you think? |
adding pynest apis and topology
@heplesser @hakonsbm as discussed, I have now removed the partitioning when a composite have more than 7 parts. |
@stinebuu So what happens now if you print a GC with more than seven parts? |
@heplesser You are shown all the parts of the GIDCollection, like this, where we have a composite gc which is sliced and consists of 8 primitives:
|
OK.
… On 16 Apr 2019, at 13:19, Stine Brekke Vennemo ***@***.***> wrote:
@heplesser You are shown all the parts of the GIDCollection, like this, where we have a composite gc which is sliced and consists of 8 primitives:
GIDCollection(metadata=None,
model=iaf_psc_alpha, size=3, first=1, last=5, step=2;
model=iaf_psc_delta, size=1, first=7, last=7;
model=iaf_psc_exp, size=1, first=9, last=9;
model=iaf_cond_alpha, size=3, first=11, last=15, step=2;
model=poisson_generator, size=1, first=17, last=17;
model=spike_detector, size=1, first=19, last=19;
model=iaf_psc_alpha, size=2, first=21, last=23, step=2;
model=iaf_cond_alpha, size=5, first=45, last=53, step=2)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
--
Prof. Dr. Hans Ekkehard Plesser
Head, Data Science Section
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email [email protected]
Home http://arken.nmbu.no/~plesser
|
Change the way we print
GIDCollection
s, see #8 for details.Printing a primitive
GIDCollection
without metadata will look like:Printing a layer will look like:
Printing a sliced composite with more than 7 parts will look like: