Skip to content

Commit 95d6051

Browse files
Update README.md
1 parent 6fa63eb commit 95d6051

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,14 @@ Short example code snippet for running rastermap:
126126
```
127127
import numpy as np
128128
import matplotlib.pyplot as plt
129-
from rastermap import Rastermap, utils
130-
from scipy.stats import zscore
129+
from rastermap import Rastermap
131130
132131
# spks is neurons by time
133132
spks = np.load("spks.npy").astype("float32")
134-
spks = zscore(spks, axis=1)
135133
136134
# fit rastermap
137135
model = Rastermap(n_PCs=200, n_clusters=100,
138-
locality=0.75, time_lag_window=5).fit(spks, compute_X_embedding=True)
136+
locality=0.75, time_lag_window=5).fit(spks)
139137
y = model.embedding # neurons x 1
140138
isort = model.isort
141139

0 commit comments

Comments
 (0)