Skip to content

Conversation

emiglietta
Copy link
Collaborator

No description provided.

Now, I have to create the for loop function.
I deleted of commented all parts having to do with other measurements (including per image measurements) and also removed if statements, assuming here wants_obects is always True and perform_RWC is always True
in order to escape import errors in CP (name of file must be all lower case) and debugger cache (Nodar had to change the actual name bc the previous capitalized one remained cached)
M_PER_OBJECT = "Within each object individually"

"""Feature name format for the RWC Coefficient measurement"""
F_RWC_FORMAT = "Correlation_RWC_%s_%s"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may cause a collision if the person has also measured RWC regularly, can we name it something different?

return True


def get_scale(scale_1, scale_2):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

#################################

import centrosome.cpmorphology
import centrosome.zernike
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to remove the ones you don't. need

@@ -0,0 +1,28 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this file from the commit, please?

Copy link
Member

@bethac07 bethac07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome job! Just some cleanup to do, plus add to the documentation

looks on its way but i messed too much with the code before, might have to restart fresh
still have to check that the values make sense
add comments clarifying R_perObj and Di_perObj
Need to check why Correlation_RWCperObj_V5_ER gives inf values and values way above 1!
measure absolute and relative (vs the pixels of the object) above-threshold (both thresholds) pixels
I changed thresholding to be >= instead of >, bc otherwise, pixels of value 0 get automatically excluded no matter the threshold
@bethac07
Copy link
Member

bethac07 commented Aug 4, 2025

@emiglietta Can you remove the extra file and do some cleaning of unneeded commented text, when you have a sec, so we can merge? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants