| Home | Trees | Index | Help |
|
|---|
| Package pyVerif :: Module Features :: Class Features |
|
Convert data files into feature files.
The convertion is done on all the files with a specific extension found in the in source directory. The output fils are putted in a directory structure which is the same as the source one.| Method Summary | |
|---|---|
The Features object constructor. | |
Compute the features for all file in the directory tree. | |
Enable/disable the logs on the screen and/or on file. | |
Log the given message. | |
Log general informations about the current system. | |
Log the given options. | |
Set the commands and options to use for convert into features. | |
Set the used directories. | |
| Method Details |
|---|
__init__(self,
executor=None)
|
compute(self, overwrite=False)Compute the features for all file in the directory tree. Parameters:
|
enable_log(self, on_screen=True, logfile=None)Enable/disable the logs on the screen and/or on file. Parameters: - on_screen: enable the log on the screen/xterm - logfile: put the log on the specified file |
log(self, msg)Log the given message. Parameters:
|
log_info(self)Log general informations about the current system. |
log_options(self, options, text=None)Log the given options. Parameters:
|
set_cmd(self, cmd, options)Set the commands and options to use for convert into features. Parameters:
|
set_dirs(self, from_dir='sph', to_dir='torch', from_ext='sph', to_ext='mat', bin_dir='bin')Set the used directories. Parameters:
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Oct 6 12:25:10 2006 | http://epydoc.sf.net |