Skip to content

Commit

Permalink
fix doctests for generate lfp
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz-Alexander-Kern committed Sep 5, 2023
1 parent c0f8ff1 commit 97732eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions elephant/current_source_density.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,8 @@ def generate_lfp(csd_profile, x_positions, y_positions=None, z_positions=None,
>>> print(f"LFPs: {lfp}")
LFPs: [[-0.01483716 -0.01483396 -0.01483075 ... 0.01219233 0.0121911
0.01218986]] mV
>>> print(f"CSD estimate: {csd}")
CSD estimate: [[-1.00025592e-04 -6.06684588e-05 2.30042086e-10 ... -4.07008302e-09
-2.33715292e-05 -3.85293808e-05]] A/m**2
>>> print(f"CSD estimate: {csd}") #doctest: +ELLIPSIS
CSD estimate: [[-1.00025592e-04 -6.06684588e-05 ...
"""

def integrate_1D(x0, csd_x, csd, h):
Expand Down

0 comments on commit 97732eb

Please sign in to comment.