[Thread Prev][Thread Next][Index]

Re: [ferret_users] Python external function



Hi Pratik,

PyFerret should add those statistic functions if it is able to import the scipy package.  What you describe sounds like it was not able to import the scipy package in the version of Python that is running PyFerret.  You might try running 'pyferret -python' (or run pyferret as usual and then enter the Ferret command 'EXIT /TOPYTHON') to get to the Python prompt.  Then try 'import scipy' and 'import scipy.stats' to make sure it was able to find SciPy and its stats package, in that version of Python.

Best regards,
Karl


On Tue, Mar 31, 2020 at 12:42 AM Pratik Kad <pratikkad17@xxxxxxxxx> wrote:
Dear Ferret users

I want to use an external statistical function in PyFerret. It shows the following error; 
  
unknown function "STATS_NORM_PDF"
Also, I tried to check it by using "show func", but I couldn't found it.

show func/detail stats_norm_pdf
I'm using the PyFerret v7.5 through conda. Even I have modules like SciPy and PyShp in my ferret environment. 

Am I missing something trivial? Because I used the above external function a long time back. Please suggest.


Best regards
Pratik







--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement