app.utils.utilΒΆ

Functions for general utilities.

Functions

filter_neurons_by_brain_area

Filter neurons by brain areas.

filter_neurons_by_brain_region

Filter neurons by brain regions.

filter_trials

Returns dictionary of indices after filtering the data.

get_decision_type

Returns decision type string.

map_neuron_idx_to_region

Returns associated brain region given a neuron index in a single session.

sort_neurons_by_brain_region

Sort the neurons by index based on the brain regions they belong to.