in this model, https://senselab.med.yale.edu/modeldb/s ... classes.py there's a line of code which (I'm assuming) places a stimulation source a set distance from a section:
Code: Select all
def rotate_optrode(self, angle, distance, sec, axis_defining_plane='z'):
""" rotate optrode around a given sec,
to a given angle,
at a given distance
in the plane defined by the axon and the given vectro
"""
Thank you,
James K