I created a neuron by using the following code. And now I want to delete a section from this neuron. What should I do?
For example, I want to delete all the axons in the neuron and I can get section index of all these axons. So what should I do to delete all these axons?
Thanks!
Code: Select all
cell_parameters = {
'morphology': 'Import3D.hoc',
'v_init': -65,
'passive': False,
'nsegs_method': 'lambda_f',
'lambda_f': 400, # Higher number means higher spatial resolution of the cell
'timeres_NEURON': 2**-3, # Should be a power of 2
'timeres_python': 2**-3,
'tstartms': 0,
'tstopms': 50,
}
cell = LFPy.Cell(**cell_parameters)