Addresses ticket # 2545
Summary: Get average of all imaging_depths and store it under a data attribute named average_container_depth on the ophys_experiment_table.
Created new data object named AverageContainerDepth
AverageContainerDepth.from_lims takes an ophys_experiment_id and queries for its associated container_id and gets all experiment_ids in that container. Joins the imaging_depth for all experiments. Takes average of all imaging_depths.
Add AverageContainerDepth to ophys_experiment_metadata, multi_plane_metadata, behavior_ophys_metadata, and associated schemas and namespaces.
Addresses ticket # 2545 Summary: Get average of all
imaging_depths
and store it under a data attribute namedaverage_container_depth
on theophys_experiment_table
.AverageContainerDepth
AverageContainerDepth.from_lims
takes an ophys_experiment_id and queries for its associated container_id and gets all experiment_ids in that container. Joins the imaging_depth for all experiments. Takes average of all imaging_depths.AverageContainerDepth
toophys_experiment_metadata
,multi_plane_metadata
,behavior_ophys_metadata
, and associated schemas and namespaces.