Widget with general information about the dataset.
Bases: QDialog
Dialog for choosing export dataset options.
Bases: QWidget
Display information about the dataset.
the main window.
instance of QMainWindow
the full path of the file.
str
the dataset already read in.
instance of wonambi.Dataset
list of the markers in the dataset
list
button to select dataset / show current dataset
QPushButton
show sampling frequency
QLabel
show number of channels
QLabel
show start time of the dataset
QLabel
show end time of the dataset
QLabel
show start time of the window
QLabel
show length of the time window
QLabel
show current scaling
QLabel
show current distance between traces
QLabel
Create actions associated with this widget.
Notes
I think that this should be a function or a property.
The good thing about the property is that it is updated every time you run it (for example, if you change some parameters in the settings). The main drawback is that you cannot reference back to the QAction, as it creates new ones every time.
Export current dataset to wonambi format (.won).
new_format (str) – Format for exported record: ‘edf’ or ‘wonambi’
filename (str or PosixPath) – filename to export to
chan (list of str, opt) – list of original channel names to export. if None, all channels are exported
begtime (int or datedelta or datetime) – start of the data to read; if it’s int or float, it’s assumed it’s s; if it’s timedelta, it’s assumed from the start of the recording; if it’s datetime, it’s assumed it’s absolute time.
endtime (int or datedelta or datetime) – end of the data to read; if it’s int or float, it’s assumed it’s s; if it’s timedelta, it’s assumed from the start of the recording; if it’s datetime, it’s assumed it’s absolute time.