def thresh_at(self, fpr_level: float) -> tuple[int, float, float]:
        """Get threshold at given shared FPR level.

        For details see
        :func:`anomalib.metrics.per_image.pimo_numpy.thresh_at_shared_fpr_level`.

        Args:
            fpr_level: Target shared FPR level to find threshold for.

        Returns:
            Tuple containing:
                - Index of the threshold
                - Threshold value
                - Actual shared FPR value at returned threshold

        Example:
            >>> result = PIMOResult(...)  # doctest: +SKIP
            >>> idx, thresh, fpr = result.thresh_at(0.1)  # doctest: +SKIP
        """
        idx, thresh, fpr = functional.thresh_at_shared_fpr_level(
            self.thresholds,
            self.shared_fpr,
            fpr_level,
        )
        return idx, thresh, float(fpr)
Get threshold at given shared FPR level.

        For details see
        :func:`anomalib.metrics.per_image.pimo_numpy.thresh_at_shared_fpr_level`.

        Args:
            fpr_level: Target shared FPR level to find threshold for.

        Returns:
            Tuple containing:
                - Index of the threshold
                - Threshold value
                - Actual shared FPR value at returned threshold

        Example:
            >>> result = PIMOResult(...)  # doctest: +SKIP
            >>> idx, thresh, fpr = result.thresh_at(0.1)  # doctest: +SKIP
        
src/anomalib/metrics/pimo/dataclasses.py