Skip to content
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

Wishlist: Looking at fit parameters #239

Open
ajasja opened this issue May 3, 2022 · 5 comments
Open

Wishlist: Looking at fit parameters #239

ajasja opened this issue May 3, 2022 · 5 comments

Comments

@ajasja
Copy link
Contributor

ajasja commented May 3, 2022

Picasso version: 0.4 (pip)
Python version: 3.8.5
Operating System: Win 10

Description

I'm looking for the best way to filter the fitted localizations. I would like to click on a fit and see the parameters. Is there an easy a way to do this?

What I Did

Localized and fitted a tiff file. I'm getting several spurious fits that should be easy to filer away, but I don't have a feeling for which fit parameters are best to filter on.
image

If I could click on a localization and see the fit parameters that would be great.

@cleterrier
Copy link

Here it looks like a simple filtering on x and Y coordinates (being close to the edge) would catch all these unwanted localizations?

@ajasja
Copy link
Contributor Author

ajasja commented May 4, 2022

@cleterrier Thanks, that's what I'm doing now, but there are still spurious fits in other frames in the middle of the image.

However I think displaying the fit parameters (perhaps on click or on mouse over) would be extremely useful.

@ajasja
Copy link
Contributor Author

ajasja commented May 4, 2022

It seems like the FitMarker (

class FitMarker(QtWidgets.QGraphicsItemGroup):
) could be extended with mouse over or click events relatively easily.

@ajasja ajasja changed the title Wish: Looking at fit parameters Wishlist: Looking at fit parameters May 6, 2022
@rafalkowalewski1
Copy link
Collaborator

Hi Ajasja,
I think that the simplest solution to the problem would be to increase the minimum net gradient in the Parameters Dialog before localizing. The strangely localized spots seem dim and Picasso has trouble fitting a gaussian there, I believe.
Let me know if that helps :)

@ajasja
Copy link
Contributor Author

ajasja commented Jun 16, 2022

@rafalkowalewski1 Thanks! I hope I solved the problem by only looking at spots near the fibers, but I still think it would be cool if you could click on the fit and see the parameters

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

No branches or pull requests

3 participants