IIntArray ci = cluster.getClusterIndexes();
IDoubleArray[] res = new IDoubleArray[nstates];
for (int state=0; state<nstates; state++)
{
IParameterEstimator estimator = Statistics.create.parameterEstimatorGaussian1D();
res[state] = estimator.estimate(obscat, Cluster.util.membershipToState(cluster, state));
}
return res;
}