Hi all,
Is there a way to get the 2D alignment parameters (angle, x/y-shift) of all particles of a selected 2D class at a given iteration of a 2D classification?
Thanks a lot for your help,
sscaramuzza
Hi all,
Is there a way to get the 2D alignment parameters (angle, x/y-shift) of all particles of a selected 2D class at a given iteration of a 2D classification?
Thanks a lot for your help,
sscaramuzza
Hi there,
As far as I know, the GUI does not have a feature like this. But...
You can do this by looking at the .db file for your project. The results for each classification are stored in a table called (e.g. for classification #20): CLASSIFICATION_RESULT_20. So you could use sqlite3 to open your .db file, then do something like this to get the parameters for particles that went to class #2 of that classification:
sqlite> select POSITION_IN_STACK,PSI,XSHIFT,YSHIFT from CLASSIFICATION_RESULT_20 where BEST_CLASS=2;
Hope this helps get you started. Depending on whether you like bash or python or other, you should be able to adapt this into a script to give you the data in a way that's directly useful to you.
Cheers,
Alexis