def METHOD_NAME(
    self,
    x: FloatSeries,
    y: FloatSeries,
    panel_params: panel_view,
) -> FloatArray:
    max_dist = dist_euclidean(panel_params.x.range, panel_params.y.range)[
        0
    ]
    xt = self.trans_x.transform(x)
    yt = self.trans_y.transform(y)
    return dist_euclidean(xt, yt) / max_dist