spectralpython / spectral

Python module for hyperspectral image processing
MIT License
573 stars 139 forks source link

mnf documentation examples use invalid call signature #59

Closed tboggs closed 7 years ago

tboggs commented 7 years ago

In the following lines of the spectral.mnf doc string, data should be added as the first argument:

>>> denoised = mnfr.denoise(snr=10)

>>> # Reduce dimensionality, retaining NAPC components where SNR >= 10.
>>> reduced = mnfr.reduce(snr=10)

>>> # Reduce dimensionality, retaining top 50 NAPC components.
>>> reduced = mnfr.reduce(num=50)
aloboa commented 7 years ago

Confirm it works with e.g denoised = mnfr.denoise(data,snr=10)