def from_config(cls, cp, **kwargs):
        r"""Initializes an instance of this class from the given config file.

        Parameters
        ----------
        cp : WorkflowConfigParser
            Config file parser to read.
        \**kwargs :
            All additional keyword arguments are passed to the class. Any
            provided keyword will over ride what is in the config file.
        """
        args = cls._init_args_from_config(cp)
        args['low_frequency_cutoff'] = low_frequency_cutoff_from_config(cp)
        args['high_frequency_cutoff'] = high_frequency_cutoff_from_config(cp)
        # get any other keyword arguments provided in the model section
        ignore_args = ['name', 'low-frequency-cutoff', 'high-frequency-cutoff']
        args.update(cls.extra_args_from_config(cp, "model",
                                               skip_args=ignore_args))
        args.update(kwargs)
        return cls(**args)
def from_config ( cls , cp , ** kwargs ) : args = cls . _init_args_from_config ( cp ) args [ 'low_frequency_cutoff' ] = low_frequency_cutoff_from_config ( cp ) args [ 'high_frequency_cutoff' ] = high_frequency_cutoff_from_config ( cp ) ignore_args = [ 'name' , 'low-frequency-cutoff' , 'high-frequency-cutoff' ] args . update ( cls . extra_args_from_config ( cp , "model" , skip_args = ignore_args ) ) args . update ( kwargs ) return cls ( ** args )
r"""Initializes an instance of this class from the given config file.

        Parameters
        ----------
        cp : WorkflowConfigParser
            Config file parser to read.
        \**kwargs :
            All additional keyword arguments are passed to the class. Any
            provided keyword will over ride what is in the config file.