def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='highpass filter', mode='editable', category='frequency', tags=['filter', 'highpass'], **kwargs) pref_page = self.pref_manager.add_page('Preferences') gen_group = pref_page.add_group('General') # Add an float_spin field. item = FloatSpinPrefItem(name='frequ.', value=1, limit=(0, None), digits=1, increment=1) gen_group.add_item(item) # Add an float_spin field. item = IntegerSpinPrefItem(name='corners', value=4, limit=(1, 30)) gen_group.add_item(item) # Zero phase checkbox. item = CheckBoxPrefItem(name='zero_phase', label='zero phase', value=False, tool_tip='Use a zero phase filtering.') gen_group.add_item(item)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='scale log10', mode='uneditable', category='test', tags=['convert', 'unit', 'physical'], **kwargs)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__( self, name='median filter', mode='editable', category='time domain filter', tags=['filter', 'median', 'time domain', 'de-spike', 'spike'], **kwargs) # Add an float_spin field. item = IntegerSpinPrefItem(name='samples', value=3, limit=(3, 100)) self.pref_manager.add_item(item=item)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='resample', mode='editable', category='sampling', tags=['resample', 'sps'], **kwargs) pref_page = self.pref_manager.add_page('Preferences') gen_group = pref_page.add_group('General') # Add a single_choice field. # Add an float_spin field. item = FloatSpinPrefItem(name='sps', value=100, limit=(1e-3, 100000)) gen_group.add_item(item)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='detrend', mode='editable', category='test', tags=['remove', 'mean'], **kwargs) # Add a single_choice field. item = SingleChoicePrefItem( name='detrend method', limit=('simple', 'linear', 'constant'), value='constant', ) self.pref_manager.add_item(item=item)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='detrend', mode='editable', category='test', tags=['remove', 'mean'], **kwargs) pref_page = self.pref_manager.add_page('Preferences') gen_group = pref_page.add_group('General') # Add a single_choice field. item = SingleChoicePrefItem( name='detrend method', #limit = ('simple', 'linear', 'constant'), limit=('constant', ), value='constant') gen_group.add_item(item)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='compute amplitude features', mode='editable', category='amplitude', tags=['amplitude', 'maximal', 'minimal'], **kwargs) # Add an float_spin field. item = FloatSpinPrefItem( name='noise_window_length', label='noise window length', value=5, limit=(0, 1000), tool_tip= 'The length of the time-span used to compute the noise parameters [s].' ) self.pref_manager.add_item(item=item)
def __init__(self, **kwargs): ''' The constructor ''' ProcessingNode.__init__(self, name='bandpass filter', mode='editable', category='frequency', tags=['filter', 'bandpass'], **kwargs) # Add an float_spin field. item = FloatSpinPrefItem(name='min. frequ.', value=1, limit=(0, None), digits=1, increment=1) self.pref_manager.add_item(item=item) # Add an float_spin field. item = FloatSpinPrefItem(name='max. frequ.', value=15, limit=(0, None), digits=1, increment=1) self.pref_manager.add_item(item=item) # Add an float_spin field. item = IntegerSpinPrefItem(name='corners', value=4, limit=(1, 30)) self.pref_manager.add_item(item=item) # Zero phase checkbox. item = CheckBoxPrefItem(name='zero_phase', label='zero phase', value=False, tool_tip='Use a zero phase filtering.') self.pref_manager.add_item(item=item)