caption | |
a string for the title bar
|
buttons | |
a list of captions for the buttons at the bottom
|
fields | |
a list of Dialogs.DialogField
|
returns | |
a dictionary mapping field.name to value
|
Shows a dialog with text fields and radio buttons.
Look at result['button'] to find out which button was clicked.
Various types of fields are documented
elsewhere.
Returns a qubtree.Node,
of structure
DataSets,
describing the regions of data indicated by
Data Source (i.e. sel, list, file, or filelist).
Pass "Segment" nodes within it to QUB.fillData() to get the actual data points.
Given a "Segment" node within a DataSets structure,
with segnode.data = [first, last],
appends a child node named "Channel" with the data points between first and last, inclusive.
You are advised to segnode.remove( segnode["Channel"] ) when you're done so as not to waste memory.
The data will be processed according to the child of DataSet named "ProcessData". By default the
data is unprocessed, but you can choose:
>>> dataset['ProcessData'].data = 'AsDisplayed'
-- or --
>>> processData = dataset['ProcessData']
>>> processData.data = 'AsSuch'
>>> processData['Filter'].data = 1 # i.e. true
>>> processData['FilterFreq'].data = 5000.0
>>> processData['Baseline'].data = 0 # i.e. false