Commit a8cde98
committed
Replace
The `average` function is just a mean function and Python already offers
a function to calculate a mean, so we use that instead.
We also wrap `fmean` to match the `ResamplingFunction` signature inline
so it is clear in the documentation what the default resampling function
does.
Signed-off-by: Leandro Lucarella <[email protected]>average with statistics.fmean
1 parent 26fa527 commit a8cde98
1 file changed
+4
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 83 | | |
104 | 84 | | |
105 | 85 | | |
| |||
134 | 114 | | |
135 | 115 | | |
136 | 116 | | |
137 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
138 | 120 | | |
139 | 121 | | |
140 | 122 | | |
| |||
0 commit comments