| @@ 314-315 (lines=2) @@ | ||
| 311 | ||
| 312 | index = argv; # index of oscillator |
|
| 313 | phase = 0.0; # phase of a specified oscillator that will calculated in line with current env. states. |
|
| 314 | ||
| 315 | neighbors = self.get_neighbors(index); |
|
| 316 | for k in neighbors: |
|
| 317 | conn_weight = 1.0; |
|
| 318 | if (self._ena_conn_weight is True): |
|
| @@ 309-310 (lines=2) @@ | ||
| 306 | @param[in] argv (uint): Index of oscillator whose phase represented by argument teta. |
|
| 307 | ||
| 308 | @return (double) New value of phase of oscillator with index 'argv'. |
|
| 309 | ||
| 310 | """ |
|
| 311 | ||
| 312 | index = argv; # index of oscillator |
|
| 313 | phase = 0.0; # phase of a specified oscillator that will calculated in line with current env. states. |
|
| @@ 406-407 (lines=2) @@ | ||
| 403 | ||
| 404 | points = numpy.array(stimulus); |
|
| 405 | triangulation = Delaunay(points); |
|
| 406 | ||
| 407 | for triangle in triangulation.simplices: |
|
| 408 | for index_tri_point1 in range(len(triangle)): |
|
| 409 | for index_tri_point2 in range(index_tri_point1 + 1, len(triangle)): |
|
| 410 | index_point1 = triangle[index_tri_point1]; |
|