data_basedb_initializersprepare_ANN_batchesget_spatial_bin_names

get_spatial_bin_names

data_base.db_initializers.prepare_ANN_batches.get_spatial_bin_names(section_distances_df)

Get the bin names from a dataframe describing the distance to soma of all sections.

Given a dataframe describing the distance to soma of all sections, as provided by get_section_distances_df(), this method returns the names for all the spatial bins of the format section\_id/bin\_id. E.g.: 5/2 denotes the second bin of section 5.

Parameters:

section_distances_df (pd.DataFrame) – The dataframe describing distance to soma for all sections.

Returns:

A list containing the bin ids in string format.

Return type:

list