Skip to content

Commit 75e11b1

Browse files
committed
bugfix
1 parent a1a8226 commit 75e11b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spatial_maps/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
from .gridcells import (
33
gridness, spacing_and_orientation, separate_fields_by_distance)
44
from .fields import (
5-
border_score, calculate_field_centers, separate_fields_by_laplace,
5+
calculate_field_centers, separate_fields_by_laplace,
66
find_peaks, which_field, compute_crossings)
7+
from .bordercells import border_score
78
from .stats import (
89
sparsity, selectivity, information_rate, information_specificity,
910
prob_dist)

spatial_maps/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .tools import fftcorrelate2d, autocorrelation
66

77
def border_score(rate_map, fields):
8-
raise DeprecationWarning('This function is moved to "spatial_maps.stats"')
8+
raise DeprecationWarning('This function is moved to "spatial_maps.bordercells"')
99
return spatial_maps.stats(rate_map, fields)
1010

1111

0 commit comments

Comments
 (0)