POIFinderOut

giant.image_processing.point_source_finder:

class giant.image_processing.point_source_finder.POIFinderOut(centroids, centroid_intensity, point_spread_functions, stats, peak_snr)[source]

This named tuple represents the output of the point of interest finding process.

It contains the centroids of the identified points of interest, their intensities, the fitted point spread functions, blob statistics, and peak signal-to-noise ratios.

Create new instance of POIFinderOut(centroids, centroid_intensity, point_spread_functions, stats, peak_snr)

Parameters:
  • centroids (ndarray[tuple[Any, ...], dtype[float64]])

  • centroid_intensity (ndarray[tuple[Any, ...], dtype[_ScalarT]])

  • point_spread_functions (list[PointSpreadFunction])

  • stats (ndarray[tuple[Any, ...], dtype[int32]])

  • peak_snr (ndarray[tuple[Any, ...], dtype[float64]])

centroids: ndarray[tuple[Any, ...], dtype[float64]]

The identied centroids of the points of interest

centroid_intensity: ndarray[tuple[Any, ...], dtype[_ScalarT]]

The intensity of the image at the location of the centroid of the point of interest.

Each element corresponds to the same element in ref:.poi_centroids

point_spread_functions: list[PointSpreadFunction]

The fit point spread function for each point of interest.

Each element corresponds to the same element in ref:.poi_centroids

stats: ndarray[tuple[Any, ...], dtype[int32]]

The stats of each detected point of interest blob.

See OpenCV connectedComponentsWithStats for details

Each element corresponds to the same element in ref:.poi_centroids

peak_snr: ndarray[tuple[Any, ...], dtype[float64]]

The peak signal to noise ratio of the blob containing the detected point of interest.

Each element corresponds to the same element in ref:.poi_centroids

Summary of Methods

count

Return number of occurrences of value.

index

Return first index of value.