|
|
@ -1153,7 +1153,7 @@ class SpecData1D(PlotData):
|
|
|
|
pl = [10, 30, 50, 70, 90, 95, 99, 99.9]
|
|
|
|
pl = [10, 30, 50, 70, 90, 95, 99, 99.9]
|
|
|
|
mmpdf.cl = qlevels(uvdens, pl, xi=(h, h))
|
|
|
|
mmpdf.cl = qlevels(uvdens, pl, xi=(h, h))
|
|
|
|
mmpdf.pl = pl
|
|
|
|
mmpdf.pl = pl
|
|
|
|
except:
|
|
|
|
except Exception:
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
return mmpdf
|
|
|
|
return mmpdf
|
|
|
|
|
|
|
|
|
|
|
@ -1696,7 +1696,7 @@ class SpecData1D(PlotData):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
f.cl, f.pl = qlevels(f.f, [10, 30, 50, 70, 90, 95, 99, 99.9],
|
|
|
|
f.cl, f.pl = qlevels(f.f, [10, 30, 50, 70, 90, 95, 99, 99.9],
|
|
|
|
f.args[0], f.args[1])
|
|
|
|
f.args[0], f.args[1])
|
|
|
|
except:
|
|
|
|
except Exception:
|
|
|
|
warnings.warn('Singularity likely in pdf')
|
|
|
|
warnings.warn('Singularity likely in pdf')
|
|
|
|
|
|
|
|
|
|
|
|
# Test of spec2mmtpdf
|
|
|
|
# Test of spec2mmtpdf
|
|
|
@ -4257,6 +4257,7 @@ def test_mm_pdf():
|
|
|
|
mm.plot()
|
|
|
|
mm.plot()
|
|
|
|
plotbackend.show()
|
|
|
|
plotbackend.show()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_docstrings():
|
|
|
|
def test_docstrings():
|
|
|
|
import doctest
|
|
|
|
import doctest
|
|
|
|
doctest.testmod()
|
|
|
|
doctest.testmod()
|
|
|
|