Created
July 5, 2016 18:12
-
-
Save ozturkib/1af391a6ff1064ab178ac3f830e17d51 to your computer and use it in GitHub Desktop.
Output of this file is : brian_version : 2.0rc3 times : 0. s How is this possible ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on 5 Jul 2016 | |
@author: io517@york.ac.uk | |
''' | |
import brian2 | |
print("brian_version : " + str(brian2.__version__)) | |
from brian2 import * | |
indices = np.array([0, 2, 1]) | |
times = np.array([1, 2, 3])*1*ms | |
G = SpikeGeneratorGroup(3, indices, times) | |
print("times : " + str(G.t[:])) |
Also I cannot access properly into the 'times' object as
G.times
It is raising attribute error as well as :
AttributeError: No attribute with name times
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output of this file is :
How is this possible ?