Skip to content

Commit 92c3262

Browse files
- add comments + english (AntSimi#93)
1 parent 0d99808 commit 92c3262

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

share/tracking.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ PATHS:
88
TRACK_DURATION_MIN: 4
99
VIRTUAL_LENGTH_MAX: 0
1010

11-
#CLASS:
12-
# MODULE: py_eddy_tracker.featured_tracking.old_tracker_reference
13-
# CLASS: CheltonTracker
11+
CLASS:
12+
MODULE: py_eddy_tracker.featured_tracking.area_tracker
13+
CLASS: AreaTracker

src/py_eddy_tracker/dataset/grid.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,10 @@ def eddy_identification(
617617
:param float,None precision: Truncate values at the defined precision in m
618618
:param str force_height_unit: Unit used for height unit
619619
:param str force_speed_unit: Unit used for speed unit
620-
:param dict kwargs: Argument given to amplitude
620+
:param dict kwargs: Arguments given to amplitude (mle, nb_step_min, nb_step_to_be_mle).
621+
Look at :py:meth:`py_eddy_tracker.eddy_feature.Amplitude`
622+
The amplitude threshold is given by `step*nb_step_min`
623+
621624
622625
:return: Return a list of 2 elements: Anticyclones and Cyclones
623626
:rtype: py_eddy_tracker.observations.observation.EddiesObservations

src/py_eddy_tracker/eddy_feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(
6565
:param float contour_height:
6666
:param array data:
6767
:param float interval:
68-
:param int mle: maximum number of local maxima in contour
68+
:param int mle: maximum number of local extrema in contour
6969
:param int nb_step_min: number of intervals to consider an eddy
7070
:param int nb_step_to_be_mle: number of intervals to be considered as an another maxima
7171
"""

src/py_eddy_tracker/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def uniform_resample(x_val, y_val, num_fac=2, fixed_size=None):
309309
:param array_like x_val: input x contour coordinates
310310
:param array_like y_val: input y contour coordinates
311311
:param int num_fac: factor to increase lengths of output coordinates
312-
:param int,None fixed_size: if define, it will used to set sampling
312+
:param int,None fixed_size: if defined, will be used to set sampling
313313
"""
314314
nb = x_val.shape[0]
315315
# Get distances

0 commit comments

Comments
 (0)