allensdk.internal.api.ophys_lims_api module

class allensdk.internal.api.ophys_lims_api.OphysLimsApi(ophys_experiment_id: int, lims_credentials: Optional[allensdk.core.authentication.DbCredentials] = None)[source]

Bases: allensdk.core.cache_method_utilities.CachedInstanceMethodMixin

get_age(self)[source]
get_average_intensity_projection_image_file(self)[source]
get_behavior_session_id(self) → Union[int, NoneType][source]

Returns the behavior_session_id associated with this experiment, if applicable.

get_cell_roi_ids(self)[source]
get_cell_specimen_table(self)[source]
get_demix_file(self)[source]
get_dff_file(self)[source]
get_driver_line(self)[source]
get_equipment_id(self)[source]
get_experiment_date(self)[source]
get_external_specimen_name(self, ophys_experiment_id=None)[source]
get_field_of_view_shape(self)[source]
get_foraging_id(self)[source]
get_full_genotype(self)[source]
get_imaging_depth(self)[source]
get_imaging_plane_group(self) → Union[int, NoneType][source]

Get the imaging plane group number. This is a numeric index that indicates the order that the frames were acquired when there is more than one frame acquired concurrently. Relevant for mesoscope data timestamps, as the laser jumps between plane groups during the scan. Will be None for non-mesoscope data.

get_max_projection(self, image_api=None)[source]
get_max_projection_file(self)[source]
get_metadata(self)[source]
get_motion_corrected_image_stack_file(self)[source]
get_nwb_filepath(self)[source]
get_objectlist_file(self)[source]
get_ophys_cell_segmentation_run_id(self)[source]
get_ophys_experiment_dir(self)[source]
get_ophys_experiment_id(self)[source]
get_plane_group_count(self) → int[source]

Gets the total number of plane groups in the session. This is required for resampling ophys timestamps for mesoscope data. Will be 0 if the scope did not capture multiple concurrent frames. See get_imaging_plane_group for more info.

get_raw_cell_specimen_table_dict(self)[source]
get_raw_dff_data(self)[source]
get_reporter_line(self)[source]
get_rig_name(self)[source]
get_rigid_motion_transform_file(self)[source]
get_sex(self)[source]
get_stimulus_name(self)[source]
get_surface_2p_pixel_size_um(self)[source]
get_sync_file(self, ophys_experiment_id=None)[source]
get_targeted_structure(self)[source]
get_workflow_state(self)[source]