We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa63eb commit 95d6051Copy full SHA for 95d6051
README.md
@@ -126,16 +126,14 @@ Short example code snippet for running rastermap:
126
```
127
import numpy as np
128
import matplotlib.pyplot as plt
129
-from rastermap import Rastermap, utils
130
-from scipy.stats import zscore
+from rastermap import Rastermap
131
132
# spks is neurons by time
133
spks = np.load("spks.npy").astype("float32")
134
-spks = zscore(spks, axis=1)
135
136
# fit rastermap
137
model = Rastermap(n_PCs=200, n_clusters=100,
138
- locality=0.75, time_lag_window=5).fit(spks, compute_X_embedding=True)
+ locality=0.75, time_lag_window=5).fit(spks)
139
y = model.embedding # neurons x 1
140
isort = model.isort
141
0 commit comments