Skip to content

Commit

Permalink
remove unuzed r_z param (thanks alejoe91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Espen Hagen committed Mar 21, 2020
1 parent 2c7ae1a commit 800eee4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions LFPy/recextelectrode.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class RecExtElectrode(object):

def __init__(self, cell=None, sigma=0.3,
x=np.array([0]), y=np.array([0]), z=np.array([0]),
N=None, r=None, n=None, contact_shape='circle', r_z=None,
N=None, r=None, n=None, contact_shape='circle',
perCellLFP=False, method='linesource',
from_file=False, cellfile=None, verbose=False,
seedvalue=None, **kwargs):
Expand Down Expand Up @@ -234,7 +234,6 @@ def __init__(self, cell=None, sigma=0.3,
raise ValueError('The contact_shape argument must be either: '
'None, \'circle\', \'square\'')

self.r_z = r_z
self.perCellLFP = perCellLFP

self.method = method
Expand Down Expand Up @@ -679,14 +678,14 @@ class RecMEAElectrode(RecExtElectrode):
def __init__(self, cell=None, sigma_T=0.3, sigma_S=1.5, sigma_G=0.0,
h=300., z_shift=0., steps=20,
x=np.array([0]), y=np.array([0]), z=np.array([0]),
N=None, r=None, n=None, r_z=None,
N=None, r=None, n=None,
perCellLFP=False, method='linesource',
from_file=False, cellfile=None, verbose=False,
seedvalue=None, squeeze_cell_factor=None, **kwargs):

RecExtElectrode.__init__(self, cell=cell,
x=x, y=y, z=z,
N=N, r=r, n=n, r_z=r_z,
N=N, r=r, n=n,
perCellLFP=perCellLFP, method=method,
from_file=from_file, cellfile=cellfile, verbose=verbose,
seedvalue=seedvalue, **kwargs)
Expand Down

0 comments on commit 800eee4

Please sign in to comment.