The normal syntax for creating a NetCon would be something like:
Code: Select all
nc = h.NetCon(preCell.soma(0.5)._ref_v,postMech,sec=preCell.soma)I can change the first argument from:
Code: Select all
preCell.soma(0.5)._ref_vCode: Select all
preCellCode: Select all
sec=preCell.somaCode: Select all
sec=preCellSpecifically:
Code: Select all
nc = h.NetCon(preCell,postMech,sec=preCell)Code: Select all
TypeError: sec is not a Section