Base class for an open data file.
|
|
|
|
|
|
|
get_stimulus(self,
name,
def_latency=0.0,
def_known_amps=[ 0.0] ,
def_add_deltas=True,
def_delta=0.5,
def_min_dur=1.0,
def_value=1.0)
Returns the StimulusRecord, creating with defaults if needed. |
source code
|
|
|
get_stimulus_at(self,
name,
f)
Returns the value of a stimulus variable at the sample index f. |
source code
|
|
|
get_stimulus_idl(self,
name,
f,
l)
Returns the idealized stimulus (firsts, lasts, classes, durations,
amps) for named variable in sample range (f, l). |
source code
|
|
|
read_session(self,
qsf,
progressf=<__builtin__.function object>) |
source code
|
|
|
saveAs(self,
path=None,
progressf=<__builtin__.function object>)
Writes the data according to file extension (default txt). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__onSetSignal(self,
i,
field,
val,
prev,
undoing) |
source code
|
|
|
__onSetSegments(self,
i,
field,
val,
prev,
undoing) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__onSetStimulus(self,
i,
field,
val,
prev,
undoing) |
source code
|
|
|
get_segmentation_file(self,
signal=0,
latency=None,
baseline_nodes=True)
Returns a list of SourceSeg corresponding to the whole file. |
source code
|
|
|
get_segmentation(self,
first_seg=None,
last_seg=None,
left=None,
right=None,
signal=0,
latency=None,
baseline_nodes=True)
Returns a list of all SourceSegs, modified by args. |
source code
|
|
|
get_segmentation_indexed(self,
first,
last,
signal=0,
latency=None,
baseline_nodes=True,
group=None) |
source code
|
|
|
get_segmentation_list(self,
list_name=None,
signal=0,
baseline_nodes=True,
group=None) |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
list
currently showing SelectionList
|
|
sampling
interval between data points, in seconds
|
|
OnChangeBaselineNodes
WeakEvent(QubData, signal_index or -1)
|
|
OnChangeField
WeakEvent(QubData, 'Name' or 'In Folder') when
filename or path change, for qubx.table.ObjectTable
|
|
OnChangeFits
WeakEvent(QubData, signal_index or -1, *reserved)
when fit curve changes
|
|
OnChangeIdealization
WeakEvent(QubData, signal_index or -1, *reserved)
when idealized data changes
|
|
OnChangeOverlaySource
WeakEvent(QubData, signal_index)
|
|
OnChangeOverlays
WeakEvent(QubData, signal_index)
|
|
OnChangePath
WeakEvent(QubData, path or "") when
filename or path change
|
|
OnChangeSamples
WeakEvent(QubData, signal_index or -1, *reserved)
when sampled data changes
|
|
OnChangeSampling
WeakEvent(QubData, sampling) when the sampling rate
changes
|
|
OnSaving
WeakEvent(QubData, qsf) when qsf (qubx.tree.Node) needs updating prior to save
|
|
analog
list of QubData_Analog for each signal
|
|
baseline
list of SigBaseline for each signal
|
|
constants
qubx.table.SimpleTable with Name, Value
|
|
exclusion
Exclusion -- idealization of erased regions
|
|
fits
list of SigIdl for each signal
|
|
ideal
list of SigIdl for each signal
|
|
lists
SelectionLists
|
|
notes
comment string for end-use
|
|
overlays
list of SigOverlays (or None) for each signal
|
|
path
folder/filename or ""
|
|
qsf
qubx.tree.Node with metadata, saved as
<whatever>.qsf
|
|
seg
list of objects to hold per-segment attributes
|
|
segmentation
Segmentation
|
|
segments
qubx.table.SimpleTable of stats etc; auto-adds
fields
|
|
signals
qubx.table.SimpleTable with Name, Units, Scale,
Offset, Filter, Filter Freq
|
|
stimuli
qubx.table.SimpleTable with the same fields as StimulusRecord.
|
|
trials
qubx.trialset.TrialSets #ivar store_fit_curves: True
to save qsf['FitCurves'], default False to save space
|