allensdk.internal.api.queries.equipment_lims_queries module

allensdk.internal.api.queries.equipment_lims_queries.experiment_configs_from_equipment_id(equipment_id: int, config_type_id: int, lims_connection: PostgresQueryMixin) DataFrame[source]

Return the configuration of a piece of experimental equipment as a function of time.

Parameters:
equipment_id: int
config_type_id: str

The observatory_experiment_config_types.id corresponding to the configuration you want.

lims_connection: PostrgresQueryMixin
Returns:
experiment_config: pd.DataFrame
Columns are

active_date – the date the config took effect center_x_mm center_y_mm center_z_mm rotation_x_deg rotation_y_deg rotation_z_deg

allensdk.internal.api.queries.equipment_lims_queries.experiment_configs_from_equipment_id_and_type(equipment_id: int, config_type: str, lims_connection: PostgresQueryMixin) DataFrame[source]

Return the configuration of a piece of experimental equipment as a function of time.

Parameters:
equipment_id: int
config_type: str

The observatory_experiment_config_types.name corresponding to the configuration you want. One of ‘led position’, ‘behavior camera position’, ‘eye camera position’, or ‘screen position’

lims_connection: PostrgresQueryMixin
Returns:
experiment_config: pd.DataFrame
Columns are

active_date – the date the config took effect center_x_mm center_y_mm center_z_mm rotation_x_deg rotation_y_deg rotation_z_deg