| Home | Trees | Index | Help |
|
|---|
| Package pyVerif :: Module Score :: Class Score |
|
| Method Summary | |
|---|---|
Init the Score object. | |
Add a computed column to the merged scores. | |
Returns a tuple with the current size of the merged scores. | |
Load the given filename, and merge it. | |
Load all the given files from the given path, and merge them. | |
Load the given filename as a normalization file. | |
Load all the given normalization files from the given path, and merge them. | |
Save the current merged scores to the given filename. | |
| Method Details |
|---|
__init__(self,
filename_to_real_id)
Init the Score object.
|
add_column(self, operation, columns_idx)
Add a computed column to the merged scores.
The resulting column will contain the results of:
operation (column [columns_idx [0]],
column [columns_idx [1]],
...,
column [columns_idx [N]])
Where column [columns_idx [X]] are all value taked from the Xth
column of the current merged scores.
columns_idx is a sequence of integers who are the columns you
want to use for the operation.
|
get_size(self)Returns a tuple with the current size of the merged scores. The returned value is a tuple (nb_lines, nb_scores) representing the size of the merged scores matrix. |
load(self, filename)Load the given filename, and merge it. |
load_all(self, path, files)Load all the given files from the given path, and merge them. |
load_norm(self, filename)Load the given filename as a normalization file. This mean every line in the file filename will be used for every entry in the merged result with the same real id. |
load_norm_all(self, path, files)Load all the given normalization files from the given path, and merge them. |
save(self, filename)Save the current merged scores to the given filename. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Oct 6 12:25:11 2006 | http://epydoc.sf.net |