I have run refine2d.py on different datasets with different number of particles (2000 to 4000) as follow:

refine2d.py start.hed --iter=8 --ninicls=30

As a result it was produced always 10 classes for each dataset I have tested. Even I changed ninitcls= to 50 , 5, or 20 always 10 classes were created. According wiki there is possible to specify number of classes.

I am using EMAN v1.8. After running refine2d.py --version the output is: EMAN2 v1.9.

On other linux box I have installed EMAN v1.7 and in this case the syntax is little bit different: I can specify number of classes as --ncls= together with number of initial classes --ninitcls. And the calculated number of classes are according specified --ncls=.

Do you have any idea how to fix this problem?