AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
333 stars 149 forks source link

Ticket/2545/dev #2604

Closed mikejhuang closed 1 year ago

mikejhuang commented 1 year ago

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.

  1. Created new data object named AverageContainerDepth
  2. 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.
  3. Add AverageContainerDepth to ophys_experiment_metadata, multi_plane_metadata, behavior_ophys_metadata, and associated schemas and namespaces.
  4. Update tests to accommodate changes.