<s> from inspect import getargspec <EOL> from nitime import descriptors as desc <EOL> class BaseAnalyzer ( desc . ResetMixin ) : <EOL> """<STR_LIT>""" <EOL> @ desc . setattr_on_read <EOL> def parameterlist ( self ) : <EOL> plist = getargspec ( self . __init__ ) . args <EOL> plist . remove ( '<STR_LIT>' ) <EOL> plist . remove ( '<STR_LIT:input>' ) <EOL> return plist <EOL> @ property <EOL> def parameters ( self ) : <EOL> return dict ( [ ( p , <EOL> getattr ( self , p , '<STR_LIT>' ) ) for p in self . parameterlist ] ) <EOL> def __init__ ( self , input = None ) : <EOL> self . input = input <EOL> def set_input ( self , input ) : <EOL> """<STR_LIT>""" <EOL> self . reset ( ) <EOL> self . input = input <EOL> def __repr__ ( self ) : <EOL> params = '<STR_LIT:U+002CU+0020>' . join ( [ '<STR_LIT>' % ( p , getattr ( self , p , '<STR_LIT>' ) ) <EOL> for p in self . parameterlist ] ) <EOL> return '<STR_LIT>' % ( self . __class__ . __name__ , params ) </s>
