commit
feb1dcf4a6
|
@ -3070,7 +3070,7 @@
|
||||||
"ss = np.linspace(1, 2, 101)\n",
|
"ss = np.linspace(1, 2, 101)\n",
|
||||||
"XX, SS = np.meshgrid(xx, ss)\n",
|
"XX, SS = np.meshgrid(xx, ss)\n",
|
||||||
"ZZ = 2 * norm.pdf(XX - 1.0, 0, SS) + norm.pdf(XX + 4.0, 0, SS)\n",
|
"ZZ = 2 * norm.pdf(XX - 1.0, 0, SS) + norm.pdf(XX + 4.0, 0, SS)\n",
|
||||||
"ZZ = ZZ / ZZ.sum(axis=1) / (xx[1] - xx[0])"
|
"ZZ = ZZ / ZZ.sum(axis=1)[:,np.newaxis] / (xx[1] - xx[0])"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue