Eden-Kramer-Lab / replay_trajectory_classification

State space models for decoding hippocampal trajectories and determining their type using sorted or clusterless data
MIT License
43 stars 13 forks source link

2D decoder place_fields are a fixed value along the Y dimension #35

Open blakeporterneuro opened 2 weeks ago

blakeporterneuro commented 2 weeks ago

Version 1.3.15

When using the 2D decoder, I was getting odd decodes. CA1_2D_acaus_MUA_event_299

I plotted the place fields decoder.plot_place_fields() and saw my fields had stripes in the Y dimension. I checked and the values along the Y dimension are all identical. Picture1

edeno commented 2 weeks ago

You're giving it 2D position of shape (n_time, 2)?

blakeporterneuro commented 2 weeks ago

yeah, ndarray, n_time, 2

Array trainingPosArray Plotted trainingPos