-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JMK_COSS log likelihood for reweighting #903
base: devel
Are you sure you want to change the base?
Conversation
91296a9
to
22d8b54
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, but Xmipp needs a test for all protocols, especially if it is a new one.
It also helps me to check the protocol and future changes
|
||
|
||
class XmippProtComputeLikelihood(ProtAnalysis3D): | ||
"""This protocol computes the likelihood of a set of particles with assigned angles when compared to a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the line break
This adds a new protocol and viewer for calculating image-volume log likelihoods using either angular_continuous_assign2 or my new program in xmipp branch jmk_new_residuals (see I2PC/xmipp#991).
The protocol compares a set of N images against M volumes and outputs a duplicated set of images (NxM) with columns for residuals and log likelihoods. It also outputs a matrix as in npy file format, which is the input for the reweighting estimate protocol and the viewer.
This now works well for real images e.g.
