bluepyemodel.tools.mechanisms¶
Mechanisms related functions
Functions
|
Compile the mechanisms. |
|
Compile mechanisms in emodel directory. |
|
Copy mechs if asked, and compile them. |
|
Copy mod files in the designated directory. |
Delete compiled mechanisms. |
|
|
Select sublist of resources with given temperature. |
|
Parse the mech mod file to get the mechanism ion and non-specific currents if any. |
|
Parse the mech mod file to get the mechanism suffix or point process to use as name. |
- compile_mechs(mechanisms_dir)¶
Compile the mechanisms.
- Parameters:
mechanisms_dir (str) – path to the directory containing the mod files to compile.
- compile_mechs_in_emodel_dir(mechanisms_directory)¶
Compile mechanisms in emodel directory.
- Parameters:
mechanisms_dir (Path) – path to the directory containing the mod files to compile.
- copy_and_compile_mechanisms(access_point)¶
Copy mechs if asked, and compile them.
- copy_mechs(mechanism_paths, out_dir)¶
Copy mod files in the designated directory.
- delete_compiled_mechanisms()¶
Delete compiled mechanisms.
- discriminate_by_temp(resources, temperatures)¶
Select sublist of resources with given temperature.
- get_mechanism_currents(mech_file)¶
Parse the mech mod file to get the mechanism ion and non-specific currents if any.
- get_mechanism_name(mech_file)¶
Parse the mech mod file to get the mechanism suffix or point process to use as name.