elephant.datasets.load_data

elephant.datasets.load_data(name)[source]

This function loads example data used in Elephant tutorials and examples.

If the data is contained in a dataset file stored in the elephant-data repository (accessible at https://datasets.python-elephant.org), the correct file is automatically downloaded and loaded.

Data that is not stored in datasets is generated.

Parameters:
name: str

The name of the data to load. The available data names and their content are defined in the main datasets documentation page.

Returns:
object

The return type will vary according to the format and contents of the requested data. For example, asset returns a neo.core.Segment object while unitary_events returns a list of lists with neo.core.SpikeTrain objects. The detailed description is available in the main datasets documentation page.