|
| 1 | +## How to set configs |
| 2 | +### 1. SSD metric |
| 3 | +|parameter|type|description| |
| 4 | +|---|:---:|---| |
| 5 | +|threshold_mode|int|mode(1 or 2):<br />1 means static threshold, final threshold equal to ssd_threshold.<br />2 means dynamic threshold, final threshold equal to ssd_threshold * src_node.radius| |
| 6 | +|ssd_threshold|float| For each node in gold standard tree, ssd find its closest node in test tree. If the distance of these two nodes is less than ssd_threshold, this node is successfully reconstructed and it will contribute to recall or precision, otherwise the distance will be contribute to ssd score. | |
| 7 | +|up_sample_threshold|float|up sample rate of gold standard and test test tree. Smaller sample rate threshold means higher sample rate, denser upsampled tree. |
| 8 | +|scale|tuple(1*3)| scaling of gold and test tree in x,y,z coordinates. |
| 9 | +|debug|boolean|show debug information or not| |
| 10 | + |
| 11 | +### 2. length metric |
| 12 | +|parameter|type|description| |
| 13 | +|---|:---:|---| |
| 14 | +|rad_mode|int|mode(1 or 2):<br />1 means static threshold, final threshold equal to rad_threshold.<br />2 means dynamic threshold, final threshold equal to rad_threshold * src_node.radius| |
| 15 | +|rad_threshold|float|This threshold measures the distance between nodes on gold standard tree and the closest edge on test tree. |
| 16 | +|len_threshold|float|This threshold measures the difference between edges on gold standard tree and their corresponding trace on test tree. |
| 17 | +|scale|tuple(1*3)|scaling of gold and test tree in x,y,z coordinates. | |
| 18 | +|debug|boolean|show debug information or not| |
| 19 | + |
| 20 | +### 3. branch metric |
| 21 | +|parameter|type|description| |
| 22 | +|---|:---:|---| |
| 23 | +|threshold_dis|float| If the distance of two nodes on two trees is less than this threshold, they are probably matched. |
| 24 | +|scale|tuple(1*3)| scaling of gold and test tree in x,y,z coordinates.| |
| 25 | +|true_positive_type|int| Identify the type of true positive nodes in swc. (This and following two parameters may affect the color of nodes in visualization program) | |
| 26 | +|false_negative_type|int| Identify the type of false negative nodes in swc. | |
| 27 | +|false_positive_type|int| Identify the type of false positive nodes in swc. | |
| 28 | + |
| 29 | +### 4. diadem metric |
| 30 | +|parameter|type|description| |
| 31 | +|---|:---:|---| |
| 32 | +|weight_mode|int|Choose different map between degree and weight.<br/>(a). WEIGHT_DEGREE = 1<br/>weight is the degree of node <br/>(b). WEIGHT_SQRT_DEGREE = 2<br/>weight is the sqrt of degree <br/>(c). WEIGHT_DEGREE_HARMONIC_MEAN = 3<br/>weight is the harmonic mean of degree of left and right son. <br/>(d). WEIGHT_PATH_LENGTH = 4<br/>weight is the length of path from node to its root<br/>| |
| 33 | +|remove_spur|boolean| remove spur or not | |
| 34 | +|count_excess_nodes|boolean| count excess nodes in test tree or not | |
| 35 | +|list_miss|boolean| list missed nodes(reconstruct failed nodes) or not| |
| 36 | +|list_distant_matches|boolean| distant match means the parent of a branch is not a matched node, but ancestor is. If this branch is matched, they are distant matched| |
| 37 | +|list_continuations|boolean| Continuation refer to nodes with only one one. List this kind of nodes or not. | |
| 38 | +|find_proper_root|boolean| find a pair of matched node as roots of two trees or not | |
| 39 | +|scale|tuple(1*3)|scaling of gold and test tree in x,y,z coordinates.| |
| 40 | +|xy_threshold|float| node distance threshold in xy surface.| |
| 41 | +|z_threshold|float| node distance threshold in z axis. | |
| 42 | +|default_xy_path_error_threshold|float| path length difference threshold in xy surface. |
| 43 | +|default_z_path_error_threshold|float| path length difference threshold in z axis. | |
| 44 | +|debug|boolean| show debug information or not | |
| 45 | + |
| 46 | +### 5. link metric |
| 47 | +|parameter|type|description| |
| 48 | +|---|:---:|---| |
| 49 | +|scale|tuple(1*3)|scaling of gold and test tree in x,y,z coordinates.| |
0 commit comments