utils¶
Utility functions for biophysics fitting.
This module contains utilities and convenience methods for: - Selection sections - Reading out Vm at a section - Multiprocessing
Classes¶
A class used to resolve AssertionError: daemonic processes are not allowed to have children |
|
A variable that does not get pickled. |
Functions¶
|
Checks if a |
|
Get sections that connect to specific structures beyond a minimum distance. |
|
Get sections that connect to specific structures at a particular distance. |
Get the main bifurcation section of a cell |
|
Augment section labels to discriminate the tuft, oblique, trunk and basal dendrites. |
|
|
Convenience method to convert a py:attr:~single_cell_parser.cell.Cell.tVec to a numpy array. |
|
Convenience method to extract the soma voltage trace from a cell |
|
Calculate the maximum voltage of a cell at any timepoint, at any dendrite. |
|
Fetch the membrane voltage of the apical dendrite at a certain distance from the soma. |
|
Fetch the exact location on the apical dendrite at a certain distance from the soma. |
|
Unserialize a function and its arguments, run it, and serialize the output. |
Execute a function in a child process. |
|
|
Unserialize a function and its arguments, run it, and serialize the output. |
Execute a function in a child process, keeping the process alive. |