RatInABox-Lab / RatInABox

A python package for modelling locomotion in complex environments and spatially/velocity selective cell activity.
MIT License
175 stars 31 forks source link

Class method to retrieve a default parameters of a class #40

Closed colleenjg closed 1 year ago

colleenjg commented 1 year ago

Added a class method to Agent, Environment and Neurons to retrieve a class' default parameters. Changed the default parameters deep copy in the init() calls to retrieve the class default parameters for the class in which the init is situated (not the instance's class default parameters, which could belong to a Child class). Changed unexpected parameter keys warning to specify class name.