Changes between Version 19 and Version 20 of MaskedArray
- Timestamp:
- 03/28/06 03:20:11 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MaskedArray
v19 v20 27 27 The function can be applied only to the data part once missing values are adequately filled. If needed, the masked version is obtained easily by applying the initial mask to the result. An {{{use_missing}}} option could be introduced to allow the use of missing values (the output would be masked), or discard them (default option?). 28 28 * '''{{{ndim}}}''': The masked array could inherit {{{ndim}}} from its {{{data}}} part. Implemented in changeset:2185. 29 * '''{{{std, var}}}''': An example of implementation of the function (not the method) {{{std}}} is given [attachment:ma_examples.py there]. 29 * '''{{{std, var}}}''': An example of implementation of the function (not the method) {{{std}}} is given [attachment:ma_examples.py there]. A suggestion for the method implementation is presented [attachment:ma-200603280900.patch in this patch]. 30 30 * '''{{{trace}}}''': Fill with 0 if {{{use_missing}}} is False. Please check [attachment:ma-20060321.patch attached patch] ([attachment:ma-20060321.patch?format=raw download]). Implemented in r2267. 31 31 * '''{{{cumprod, cumsum}}}''': 32 32 * {{{use_missing=True}}}: The output is masked for indices [''i''...''N''], where ''i'' is the index of the first missing value, and ''N'' the nb of data (including missing). 33 33 * {{{use_missing=False}}}: Fill the initial missing values by 1 for {{{cumprod}}} or 0 for {{{cumsum}}}. 34 A simple implementation of {{{cumprod}}} and {{{cumsum}}}, without the questionable {{{use-missing}}} flag, is suggested [attachment:ma-200603280900.patch in this patch]. 34 35 * '''{{{clip}}}''': Please check [attachment:ma-20060321.patch attached patch] ([attachment:ma-20060321.patch?format=raw download]). Implemented in r2267. 35 36
