Hi! I am trying to load a linear circuit into python. I designed a circuit in the GUI using the linear circuit builder that has a reference to a part of my cell. I have the linear circuit saved as a class file (with a .hoc extension).
The mechanism is a series of resistors connected to a section of the cell (in my case iseg(0)) with the label 'Vm'. I kept the default name for the class 'LM' that the class generation uses.
I load in the class at the top of my python file by calling:
Code: Select all
h.load_file(root + r'addOS\OSClass_SRW2.hoc')
But then I am not sure how to actually generate my linear mechanism and ensure that it is attached at the correct connection point in my cell (iseg(0)) using python. Do you have any advice on using linear circuit mechanisms in python? Thank you so much!