Preprocessing:Extract

From QuB

Jump to: navigation, search
Prev: Preprocessing:Baseline Outline Next: Preprocessing:Chop Data


Extract saves a new data file from the Data Source. The file can be sampled or idealized, processed or raw, all or some A/D channels.

Properties

Output file name
by default, the source file name with "x" at the end. Click "..." to use a standard Save dialog.
Open file after extraction
opens the extracted file in QuB after writing it.
Data source
which data to extract
Pre-process data
None
extracts sampled data exactly as it is on disk
As such
apply the low-pass filter and/or baseline correction as defined in the data
resample to a new sampling rate -- QuB interpolates linearly between samples
Proc. only the active channel
Apply pre-processing to the active channel, or to all A/D channels.
Output format
see Data Theory#Data File Types. The choices are:
  • QDF -- QuB native, full-featured sampled data
  • LDT -- QuB legacy, compatible with our stuff from 10 years ago (and maybe others?)
  • DAT -- raw binary, no headers
  • ASC -- tab-separated text file, with optional time (x) column and fit column
    • new option: Segments in columns: instead of writing all data in one column, one segment after another, it writes the segments in parallel, each in its own column.
  • WAV -- sound file
  • DWT -- idealized data
All A/D channels / Only active channel / list of channels
choose which signal lines to extract. The list is comma- or space-delimited. Channel numbers start with 0.
Join segments
for sampled data, the extracted file will have a single data segment made by concatenating all the source segments/selections.
for idealized (DWT) data, the extracted file will have closed events between the source segments/selections
Drop First/Last Evt (per seg)
(idealized data only)
omits the first and last event of each segment. e.g. if you're extracting a list of selections where each selection is a burst along with a little bit of desensitized at the beginning and end, but you want to exclude the desensitized events.
If Class
Drops the first and/or last events only if they are closed (class 0) or open (class 1).
Presets
fills all fields of this dialog from a stored preset, or "add to menu" a new preset with the current settings
Advanced
Shows the following additional options:
Operation
Add
Adds all source segments/selections together pointwise to make one output segment
Sub
Subtracts the first source segment (e.g. a leak trace) from each of the others, to make N-1 output segments
List
Subtracts the data in a selection list from the source segments (??)
Avg
Averages all source segments to make one output segment containing the mean at each point
Std
Averages all source segments, makes one output segment containing the standard deviation from the mean at each point.
Scale
Multiplies each data point by a constant
Function
Drift
Adds a straight line to the data
Sine
Adds a sin/cos wave to the data
Digitize using half-amp threshold
Replaces each data point with either Min or Max, depending on whether it is less or greater than the Threshold
Leak+Cap subtraction
using the equation displayed, with the parameters from Modeling:Exp


Prev: Preprocessing:Baseline Outline Next: Preprocessing:Chop Data