[SciPy-dev] are masked array statistical function hidden intentionally?
Tue Nov 18 18:04:01 CST 2008
On Tue, Nov 18, 2008 at 4:52 PM, Pierre GM <email@example.com> wrote:
> On Nov 18, 2008, at 4:35 PM, firstname.lastname@example.org wrote:
>> scipy\stats\mstats.py and scipy\stats\mmorestats.py are masked array
>> version of many of the statistical function.
>> They are not imported in any __init__.py and I did not find them in
>> the new documentation for scipy at
>> Is this on purpose or not?
> I'd say yes. I tried to keep the names of these functions as close to
> their non-masked equivalent as possible. Import ting them in __init__
> would likely erase the non-masked ones (or vice-versa depending the
> import order). It's not that difficult to access them through:
> from scipy.stats.mstats import thefunctionyouwant
> import scipy.stats.mstats as mstats
> About the documentation: well, I guess I should take the blame for not
> having written more thorough docstrings. However, I'm not in charge
> of building the whole doc.
> Now, I wonder whether it wouldn't be worth to consolidate things a
> bit, by making sure a function returns a masked array if its input is
> a masked array, a ndarray otherwise...
> Scipy-dev mailing list
I thought it more as an "advertising" question, since the docs seem to
pick up only functions that are exposed in __all__,
also np.lookfor does not seem to pick up any of the functions.
More information about the Scipy-dev