Open mdenker opened 9 years ago
The following code worked:
# return all objects AnalogSignal with parameters annotation a=5, b=6, c=7
print "targdict={'a':5, 'b':6, 'c':7 } and objects='AnalogSignal' ", blk.filter(targdict={'a': 5, 'b':6, 'c': 7}, objects='AnalogSignal')
# return all objects SpikeTrain with parameter annotation st=8
print "targdict={'st':8} and objects='SpikeTrain' ", blk.filter(targdict={'st': 8}, objects='SpikeTrain')
# return all objects AnalogSignal and SpikeTrain with parameters annotation st=8, c=7
print "targdict={'st':8, 'c':7 } and objects=['AnalogSignal', 'SpikeTrain'] ", blk.filter(targdict={'st': 8, 'c': 7}, objects=['AnalogSignal', 'SpikeTrain'])
@mdenker : can you give an example what does not work what expected and what is the expected result ?