Skip to content

Brian not raising error when trying to access parameter "times" for DCSource #543

@appukuttan-shailesh

Description

@appukuttan-shailesh

For this code:

steady = DCSource(amplitude=0.5, start=10.0, stop=20.0)
print len(steady.times)  

Brian is printing output as 3.

NEURON and NEST rightly give:
pyNN.errors.NonExistentParameterError: times (valid parameters for DCSource are: amplitude, start, stop)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions