Skip to content

Commit eefd853

Browse files
committed
Line spacing according to pep8
1 parent fa96cf7 commit eefd853

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

kcsd/KCSD.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from . import utility_functions as utils
1212
from . import basis_functions as basis
1313

14+
1415
class CSD(object):
1516
"""CSD - The base class for CSD methods."""
1617
def __init__(self, ele_pos, pots):
@@ -602,6 +603,7 @@ def int_pot_1D(self, xp, x, R, h, basis_func):
602603
m *= basis_func(abs(xp), R) # xp is the distance
603604
return m
604605

606+
605607
class KCSD2D(KCSD):
606608
"""The 2D variant for the Kernel Current Source Density method.
607609
@@ -1127,6 +1129,7 @@ def int_pot_3D(self, xp, yp, zp, x, R, h, basis_func):
11271129
pot *= basis_func(dist, R)
11281130
return pot
11291131

1132+
11301133
class oKCSD1D(KCSD1D):
11311134
"""oKCSD - The variant for the Kernel Current Source Density method that
11321135
allows to reconstruct potential and CSD in given 1D space points.
@@ -1220,7 +1223,8 @@ def place_basis(self):
12201223
self.src_x = self.own_src
12211224
self.n_src = self.src_x.size
12221225
self.nsx = self.src_x.shape
1223-
1226+
1227+
12241228
class oKCSD2D(KCSD2D):
12251229
"""oKCSD - The variant for the Kernel Current Source Density method that
12261230
allows to reconstruct potential and CSD in given 2D space points.
@@ -1314,6 +1318,7 @@ def place_basis(self):
13141318
self.n_src = self.src_x.size
13151319
self.nsx, self.nsy = self.src_x.shape
13161320

1321+
13171322
class oKCSD3D(KCSD3D):
13181323
"""oKCSD - The variant for the Kernel Current Source Density method that
13191324
allows to reconstruct potential and CSD in given 3D space points.
@@ -1407,6 +1412,7 @@ def place_basis(self):
14071412
self.n_src = self.src_x.size
14081413
self.nsx, self.nsy, self.nsz = self.src_x.shape
14091414

1415+
14101416
if __name__ == '__main__':
14111417
print('Checking 1D')
14121418
ele_pos = np.array(([-0.1], [0], [0.5], [1.], [1.4], [2.], [2.3]))

0 commit comments

Comments
 (0)