common_session.py
Session
¶
Bases: SpyglassIngestion, Imported
Source code in src/spyglass/common/common_session.py
get_nwb_objects(nwb_file, nwb_file_name=None)
¶
The file itself is the source: a session describes the whole file.
Stated explicitly rather than leaning on the default type filter. That
filter searches nwb_file.objects, so it only finds the root NWBFile
if the file lists itself in its own object collection -- true today,
but an implicit dependency on pynwb's internals for a table whose
source is unambiguous. Same reasoning as PositionSource and
RawPosition in common_behav.
Source code in src/spyglass/common/common_session.py
Experimenter
¶
Bases: SpyglassIngestion, Part
Source code in src/spyglass/common/common_session.py
generate_entries_from_nwb_object(nwb_obj, base_key=None)
¶
Override to handle multiple experimenters.