-
Notifications
You must be signed in to change notification settings - Fork 10
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
--tomogram-mask option during match_template not working #194
Comments
Dear @Phaips First to check:
Do you mean it has the right size in angstrom or in pixels? We need it to be pixels, but I expect our code to fail if the number of pixels isn't identical, at least it should (not sure if it actually does, and this might be the bug you're encountering)
Another reason for this behavior might be: During the extract particles step, these particles should be skipped automatically |
Hi @sroet,
I am not sure I understood correctly but I think this explains the observation! I do use Cheers! |
No worries about the confusion, but you are absolutely correct. With a 2 2 1 split it will only skip a subvolume if one of the 4 subvolumes is completely masked. (This was mainly done to make sure the unmasked results were not altered by supplying a mask). We could set the masked scores to 0 at the last step, but throwing away data at that point felt wasteful. It should indeed automatically grab the mask from the matching job in the extraction job. If you don't want that you can supply a different mask explicitly to the extraction job Please let me know if anything is unclear! |
Did we need to make a PR for this? Otherwise it would be nice to move to Discussions for public reference |
PR has been made to make sure we error with a reasonable error out if the shape does not overlap. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi again,
When I look at my score maps I see peaks inside the area where my tomogram mask should have zero values. I assume this shouldn't be the case if those subvolumes are skipped.
My mask is from Amira and has the right dimensions. However, the pixel size is 1.00. Now I was wondering if the pixel size of the mask needs to match the tomogram?
Or there is another problem at play :)
Thanks a lot!
The text was updated successfully, but these errors were encountered: