allensdk.brain_observatory.ecephys.ecephys_project_api.ecephys_project_warehouse_api module

class allensdk.brain_observatory.ecephys.ecephys_project_api.ecephys_project_warehouse_api.EcephysProjectWarehouseApi(rma_engine=None)[source]

Bases: allensdk.brain_observatory.ecephys.ecephys_project_api.ecephys_project_api.EcephysProjectApi

classmethod default(asynchronous=False, **rma_kwargs)[source]
get_channels(self, channel_ids=None, probe_ids=None)[source]
get_natural_movie_template(self, number)[source]
get_natural_scene_template(self, number)[source]
get_probe_lfp_data(self, probe_id)[source]
get_probes(self, probe_ids=None, session_ids=None)[source]
get_session_data(self, session_id, **kwargs)[source]
get_sessions(self, session_ids=None, has_eye_tracking=None, stimulus_names=None)[source]
get_unit_analysis_metrics(self, unit_ids=None, ecephys_session_ids=None, session_types=None)[source]

Download analysis metrics - precalculated descriptions of unitwise responses to visual stimulation.

Parameters:
unit_ids : array-like of int, optional

Unique identifiers for ecephys units. If supplied, only download metrics for these units.

ecephys_session_ids : array-like of int, optional

Unique identifiers for ecephys sessions. If supplied, only download metrics for units collected during these sessions.

session_types : array-like of str, optional

Names of session types. e.g. “brain_observatory_1.1” or “functional_connectivity”. If supplied, only download metrics for units collected during sessions of these types

Returns:
pd.DataFrame :

A table of analysis metrics, indexed by unit_id.

get_units(self, unit_ids=None, channel_ids=None, probe_ids=None, session_ids=None, *a, **k)[source]
movie_re = re.compile('.*natural_movie_(?P<num>\\d+).npy')
scene_re = re.compile('.*/(?P<num>\\d+).tiff')
stimulus_templates