Package tour¶
The library lives in toric_spines_sim/. Full signatures and docstrings are in the API reference.
geometry/— SWC I/O, cycle breaks, mesh→skeleton→SWC, sink append, dendrite helpersmodel/—TSModel, synapses, gap junctions,TSRecipe,check_cataloguesimulation/— parameters,TSSimulator, inputs,SimulationResultsevents/— event generators / rate curvesviz/— Plotly / Dash / animation helperskmatrix.py,report.py— pairwise integration analysis / PDF reportingpaths.py— repo-root data paths (get_swc_path, …)
Temperature is Kelvin (in vitro ~297 K; barn owl in vivo ~313 K). Capacitance is µF/cm²; leak is S/cm²; axial resistivity is Ω·cm. See Software for ICx in-vitro / in-vivo banks.
Path helpers¶
from toric_spines_sim.paths import (
get_swc_path,
get_pointset_path,
get_mesh_path,
get_skeleton_path,
get_simulation_path,
DATA_DIR,
)
swc_file = get_swc_path("TS1_wsink_r10um.swc", units="microns")
pointset = get_pointset_path("TS1_synpts.txt", units="microns")
mesh = get_mesh_path("TS1.obj")
skeleton = get_skeleton_path("TS1.polylines.txt")
output_file = get_simulation_path("ts1", "axons", "results")