py_eddy_tracker.observations.network.Network¶
-
class
py_eddy_tracker.observations.network.
Network
(input_regex, window=5, intern=False, memory=False)[source]¶ Bases:
object
Class to group observations by network
Methods
With a loop on all pair of index, we will label each obs with a group number
Create a translator with all duos
Attributes
-
NOGROUP
= 0¶
-
buffer
¶
-
filenames
¶
-
get_group_array
(results, nb_obs)[source]¶ With a loop on all pair of index, we will label each obs with a group number
-
static
group_translator
(nb, duos)[source]¶ Create a translator with all duos
- Parameters
>>> NetworkObservations.group_translator(5, ((0, 1), (0, 2), (1, 3))) [3, 3, 3, 3, 5]
-
memory
¶
-
nb_input
¶
-
window
¶
-