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:
EcephysProjectApi- get_unit_analysis_metrics(unit_ids=None, ecephys_session_ids=None, session_types=None)[source]¶
Download analysis metrics - precalculated descriptions of unitwise responses to visual stimulation.
- Parameters:
- unit_idsarray-like of int, optional
Unique identifiers for ecephys units. If supplied, only download metrics for these units.
- ecephys_session_idsarray-like of int, optional
Unique identifiers for ecephys sessions. If supplied, only download metrics for units collected during these sessions.
- session_typesarray-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.
- movie_re = re.compile('.*natural_movie_(?P<num>\\d+).npy')¶
- scene_re = re.compile('.*/(?P<num>\\d+).tiff')¶
- property stimulus_templates¶