sainsc.LazyKDE.assignment_score =============================== .. py:property:: sainsc.LazyKDE.assignment_score :type: numpy.ndarray[tuple[int, int], numpy.dtype[numpy.float32]] | None Assignment score for each pixel. Let `x` be the gene expression of a pixel, and `i` and `j` the signatures of the best and 2nd best scoring cell type, respectively. The assignment score is calculated as :math:`\frac{cos(\theta_{xi}) - cos(\theta_{xj})}{cos(\pi/2 - \theta_{ij})}` where :math:`\theta` is the angle between the corresponding vectors. :type: numpy.ndarray[tuple[int, int], numpy.single]