Skip to content

Commit

Permalink
Update src/spyglass/decoding/v1/clusterless.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Brozdowski <[email protected]>
  • Loading branch information
edeno and CBroz1 authored Jan 10, 2024
1 parent c01baad commit 17dad85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/spyglass/decoding/v1/clusterless.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,10 @@ def load_linear_position_info(key):
position = np.asarray(position_df[["position_x", "position_y"]])

linear_position_df = get_linearized_position(
position,
environment.track_graph,
environment.edge_order,
environment.edge_spacing,
position = position,
track_graph = environment.track_graph,
edge_order = environment.edge_order,
edge_spacing = environment.edge_spacing,
)

linear_position_df.insert(4, "speed", np.asarray(position_df.speed))
Expand Down

0 comments on commit 17dad85

Please sign in to comment.