neuralib.model.rastermap.plot.plot_rastermap
- neuralib.model.rastermap.plot.plot_rastermap(result, act_time, *, time_range=None, behaviors=None, output=None)[source]
plot the rastermap result with behavioral measurements
- Parameters:
result (RasterMapResult) –
RasterMapResultact_time (ndarray) – neural activity time array. should be the same T as neural_activity when run the rastermap
time_range (tuple[float, float] | None) – time range for plotting (START,END)
behaviors (list[BehavioralVT] | None) – list of
BehavioralVToutput (str | Path | bytes | BinaryIO | BufferedIOBase | BufferedReader | None) – output path for figure save. If None then show