allensdk.brain_observatory.behavior.data_objects.cell_specimens.traces.neuropil_traces module¶
- class allensdk.brain_observatory.behavior.data_objects.cell_specimens.traces.neuropil_traces.NeuropilTraces(traces: DataFrame)[source]¶
Bases:
DataObject,RoisMixin,DataFileReadableInterface,NwbReadableInterface,NwbWritableInterfaceA data container to load, access, and store the neuropil_traces dataframe. Neuropil traces are the fluorescent signal measured from the neuropil_masks.
- classmethod from_data_file(neuropil_file: NeuropilFile) NeuropilTraces[source]¶
Populate a DataObject from the data file
- Returns:
- DataObject:
An instantiated DataObject which has name and value properties
- classmethod from_nwb(nwbfile: NWBFile) NeuropilTraces[source]¶
Populate a DataObject from a pyNWB file object.
- Parameters:
- nwbfile:
The file object (NWBFile) of a pynwb dataset file.
- Returns:
- DataObject:
An instantiated DataObject which has name and value properties