Skip to content

Commit

Permalink
MAINT: _biophysics -> set_biophysics
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmainak committed Nov 6, 2020
1 parent 4495b26 commit 8f96d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions hnn_core/basket.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, gid, pos, cell_name='Basket'):
self.shape_soma()
self.synapses = dict()

def _biophysics(self):
def set_biophysics(self):
self.soma.insert('hh2')

def _get_soma_props(self, cell_name, pos):
Expand Down Expand Up @@ -71,7 +71,7 @@ def __init__(self, gid=-1, pos=-1):
self.celltype = 'L2_basket'

self._synapse_create()
self._biophysics()
self.set_biophysics()
self.sect_loc = dict(proximal=['soma'], distal=['soma'])


Expand All @@ -84,5 +84,5 @@ def __init__(self, gid=-1, pos=-1):
self.celltype = 'L5_basket'

self._synapse_create()
self._biophysics()
self.set_biophysics()
self.sect_loc = dict(proximal=['soma'], distal=[])
6 changes: 3 additions & 3 deletions hnn_core/pyramidal.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __init__(self, gid, pos, celltype, params):
self.set_geometry(p_dend)

# biophysics
self._biophysics(p_all)
self.set_biophysics(p_all)

# insert dipole
yscale = self.secs()[3]
Expand Down Expand Up @@ -387,7 +387,7 @@ def secs(self):
]
return sec_pts, sec_lens, sec_diams, sec_scales, topology

def _biophysics(self, p_all):
def set_biophysics(self, p_all):
"""Adds biophysics to soma."""

# Insert 'hh2' mechanism
Expand Down Expand Up @@ -529,7 +529,7 @@ def _get_soma_props(self, pos, p_all):
'name': 'L5Pyr',
}

def _biophysics(self, p_all):
def set_biophysics(self, p_all):
"Set the biophysics for the default Pyramidal cell."

# Insert 'hh2' mechanism
Expand Down

0 comments on commit 8f96d1a

Please sign in to comment.