neuralib.atlas.cellatlas.core.load_cellatlas

neuralib.atlas.cellatlas.core.load_cellatlas(file=None, *, with_cell_type=False, with_detail=False, with_total_neurons=True, with_acronym=True, reload=False)[source]

Load the dataframe with cell types and volume information for each brain area

Parameters:
  • file (str | Path | PathLike[str] | None) – Cached csv filepath. If not exist, download from the source paper

  • with_cell_type (bool) – With cell type information, defaults to False

  • with_detail (bool) – With some outlier brain areas, defaults to False

  • with_total_neurons (bool) – With n_neurons field, defaults to True

  • with_acronym (bool) – With acronym field sync with structure tree data, defaults to True

  • reload (bool) – Re-download the csv file

Returns:

DataFrame

Return type:

DataFrame