Skip to content

lfp_imported.py

ImportedLFP

Bases: SpyglassMixin, Imported

Source code in src/spyglass/lfp/lfp_imported.py
@schema
class ImportedLFP(SpyglassMixin, dj.Imported):
    definition = """
    -> Session                      # the session to which this LFP belongs
    -> LFPElectrodeGroup            # the group of electrodes to be filtered
    -> IntervalList                 # the original set of times to be filtered
    lfp_object_id: varchar(40)      # object ID for loading from the NWB file
    ---
    lfp_sampling_rate: float        # the sampling rate, in samples/sec
    -> AnalysisNwbfile
    """

    def make(self, key):
        """Placeholder for importing LFP."""
        raise NotImplementedError(
            "For `insert`, use `allow_direct_insert=True`"
        )

make(key)

Placeholder for importing LFP.

Source code in src/spyglass/lfp/lfp_imported.py
def make(self, key):
    """Placeholder for importing LFP."""
    raise NotImplementedError(
        "For `insert`, use `allow_direct_insert=True`"
    )