utils¶
Utility and convenience functions for the simrun
package.
Provides functions to parse out specific info from parameter files, silence stdout, subdivide arrays for multiprocessing purposes, and more.
Functions¶
|
Get the amount of cells of each type from a confile. |
Split a network parameter dictionary into a list of dictionaries. |
|
|
Gets the keyword arguments with their default value from any function. |
|
Set default arguments of an object if they are not set. |
|
Convenience function to load a parameter file whether it is a string or a dictionary. |
|
Compress a folder to |
|
Split a sequence in multiple lists which have approximately equal size. |
|
Decorator function to silence a function’s output. |
|
Sample landmarks (i.e. 3D points) from a landmarkAscii file. |
|
Sample landmarks from all landmarkAscii files in a directory. |
|
Select cells whose synapses were active in a given time interval. |