replay_trajectory_classification.continuous_state_transitions.Identity#

class Identity(environment_name: str = '')[source]#

Bases: object

A transition where the movement stays within a place bin

environment_name#

Name of environment to fit

Type:

str, optional

Methods

make_state_transition(environments)

Creates a transition matrix for a given environment.

Methods

make_state_transition

Creates a transition matrix for a given environment.

Attributes

make_state_transition(environments: tuple[Environment])[source]#

Creates a transition matrix for a given environment.

Parameters:

environments (tuple[Environment]) – The existing environments in the model

Returns:

state_transition_matrix

Return type:

np.ndarray, shape (n_position_bins, n_position_bins)