visualization_1D_view.py
create_1D_decode_view(posterior, linear_position=None, ref_time_sec=None)
¶
Creates a view of an interactive heatmap of position vs. time.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
posterior |
(DataArray, shape(n_time, n_position_bins))
|
|
required |
linear_position |
(ndarray, shape(n_time))
|
|
None
|
ref_time_sec |
float64
|
Reference time for the purpose of offsetting the start time |
None
|
Returns:
Name | Type | Description |
---|---|---|
view |
DecodedLinearPositionData
|
|