1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
"""
Returns the array of <funcreturn>
for the <distriblongname> probability distribution
using the given arrays for the abscissa or template
values and each of the parameters values.
"""
import numpy
import pyferret
import pyferret.stats
DISTRIB_NAME = "<distriblongname>"
FUNC_NAME = "<funcname>"
def ferret_init(id):
"""
Initialization for the stats_<distribname>_<funcname> Ferret PyEF
"""
return pyferret.stats.getinitdict(DISTRIB_NAME, FUNC_NAME)
def ferret_compute(id, result, resbdf, inputs, inpbdfs):
"""
Result array assignment for the stats_<distribname>_<funcname> Ferret PyEF
"""
pyferret.stats.assignresultsarray(DISTRIB_NAME, FUNC_NAME,
result, resbdf, inputs, inpbdfs)
|