Data file structure and i/o.
Copyright 2008-2014 Research Foundation State University of New York
This file is part of QUB Express.
QUB Express is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
QUB Express is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License,
named LICENSE.txt, in the QUB Express program directory. If not, see
<http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
Open(path,
progressf=<__builtin__.function object>) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
get_segmentation_copy(segmentation,
signal=0) |
source code
|
|
|
|
|
get_file_samples(file,
signal,
first,
last,
included,
latency=0,
skip=1,
start=-1,
baseline_nodes=True,
group=None)
Returns a SourceChunk with samples and sampling. |
source code
|
|
|
get_file_samples_filtered(file,
sig,
first,
last,
included,
latency,
filter_Hz,
skip=1,
get_samples=<__builtin__.function object>,
start=-1,
baseline_nodes=True,
group=None) |
source code
|
|
|
generate_chunk_samples(chunks,
main_hold=None,
signal=None,
maxlen=65536,
get_excluded=False,
downsample_w=None,
downsample_Nsigseg=1,
get_idl=False,
get_idl_durs=False)
Yields (numpy.array(float32) of sampled data, sampling) for each
chunk. |
source code
|
|
|
BuildSession(base_qsf,
segs_of_signal,
lists,
*tables) |
source code
|
|
|
|
|
BuildSessionFits(qsf,
file,
segs_of_signal) |
source code
|
|
|
BuildSessionOverlays(qsf,
file,
segs_of_signal) |
source code
|
|
|
|
|
|
|
|
|
Save_QDF(path,
base_qsf,
segs_of_signal,
lists,
progressf,
*tables,
**kw) |
source code
|
|
|
Save_Float32(path,
base_qsf,
segs_of_signal,
lists,
progressf,
*tables,
**kw) |
source code
|
|
|
Save_Int16(path,
base_qsf,
segs_of_signal,
lists,
progressf,
*tables,
**kw) |
source code
|
|
|
|
|
Save_TXT(path,
base_qsf,
segs_of_signal,
lists,
progressf,
*tables,
**kw) |
source code
|
|
|
Save_CSV(path,
base_qsf,
segs_of_signal,
lists,
progressf,
*tables,
**kw) |
source code
|
|
|
ReadSessionIdl(data,
sess,
addsegs=False,
progressf=<__builtin__.function object>)
Fills in data.ideal (and optionally data.segmentation) from sess, a
QSF tree. |
source code
|
|
|
ReadSessionFits(data,
sess,
progressf=<__builtin__.function object>) |
source code
|
|
|
ReadSessionOverlays(data,
sess,
progressf=<__builtin__.function object>) |
source code
|
|
|
ReadSessionExcl(data,
sess,
progressf=<__builtin__.function object>) |
source code
|
|
|
ReadSessionBaseline(data,
sess,
progressf=<__builtin__.function object>) |
source code
|
|
|
ReadSessionTrials(data,
sess,
progressf=<__builtin__.function object>) |
source code
|
|
|
read_signal_overlay(samples,
data,
overlay,
analog,
sel_index) |
source code
|
|
|
|
|
read_with_latency(read,
first,
last,
latency,
skip,
iseg,
segfirst,
seglast) |
source code
|
|
|
|
|
|
|
|
|
|
|
|