picasso icon indicating copy to clipboard operation
picasso copied to clipboard

Wishlist: Looking at fit parameters

Open ajasja opened this issue 2 years ago • 5 comments

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.

ajasja avatar May 03 '22 10:05 ajasja

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

cleterrier avatar May 03 '22 16:05 cleterrier

@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 avatar May 04 '22 07:05 ajasja

It seems like the FitMarker (https://github.com/jungmannlab/picasso/blob/ac0064fbc232caab1135ebd3c4cc55f439a1cd32/picasso/gui/localize.py#L158) could be extended with mouse over or click events relatively easily.

ajasja avatar May 04 '22 07:05 ajasja

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 :)

rafalkowalewski1 avatar Jun 14 '22 17:06 rafalkowalewski1

@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

ajasja avatar Jun 16 '22 08:06 ajasja