Package jazzparser :: Package formalisms :: Package music_halfspan :: Module songtools :: Class SongSelfSimilarityTool
[hide private]
[frames] | no frames]

Class SongSelfSimilarityTool

source code

      object --+    
               |    
shell.tools.Tool --+
                   |
                  SongSelfSimilarityTool

For fooling around with comparing songs to themselves to see what happens.

Instance Methods [hide private]
 
run(self, args, state)
Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.
source code

Inherited from shell.tools.Tool: process_option_list

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  name = 'Self similarity'
hash(x)
  commands = ['selfsim']
  usage = ('selfsim <song-num>', '')
  help = ''
  tool_options = Tool.tool_options+ [ModuleOption('local', filte...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

run(self, args, state)

source code 

Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.

By the time this is called, the options dict is available in self.options.

Overrides: shell.tools.Tool.run
(inherited documentation)

Class Variable Details [hide private]

tool_options

Value:
Tool.tool_options+ [ModuleOption('local', filter= str_to_bool, usage= \
"local=B, where B is true or false", default= False, help_text= "Sort \
results by local alignment score, not " "global"),]