Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 756bc428 authored by Olga Stamati's avatar Olga Stamati
Browse files

fix test of gaussianMixtureParameters

parent 595c3380
Pipeline #50971 passed with stages
in 13 minutes and 40 seconds
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
from __future__ import print_function
import unittest
......@@ -36,9 +36,9 @@ class testAll(unittest.TestCase):
ne = numpy.array(bins*(ne-neMin)/(neMax-neMin)).astype('<u1')
# get gaussian mixture parametersLogToGauss
spam.DIC.gaussianMixtureParameters(xr, ne, BINS=bins, NPHASES=4, distanceMaxima=1.5)
spam.DIC.gaussianMixtureParameters(xr, ne, BINS=bins, NPHASES=1, distanceMaxima=None, sliceAxis=2)
gm, jh = spam.DIC.gaussianMixtureParameters(xr, ne, BINS=bins, NPHASES=1, sliceAxis=1)
spam.DIC.gaussianMixtureParameters(xr, ne, bins=bins, nPhases=4, distanceMaxima=1.5)
spam.DIC.gaussianMixtureParameters(xr, ne, bins=bins, nPhases=1, distanceMaxima=None, sliceAxis=2)
gm, jh = spam.DIC.gaussianMixtureParameters(xr, ne, bins=bins, nPhases=1, sliceAxis=1)
spam.DIC.phaseDiagram(gm, jh, BINS=bins)
pd, co = spam.DIC.phaseDiagram(gm, jh, BINS=bins, voxelCoverage=0.70)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment