="sd">&quot;&quot;&quot;</span>
<span class="sd">        Computes the global similarity between two structures A and B.</span>

<span class="sd">        Args:</span>
<span class="sd">            localkernel(np.ndarray): NxM matrix of local similarities between</span>
<span class="sd">                structures A and B, with N and M atoms respectively.</span>
<span class="sd">        Returns:</span>
<span class="sd">            float: Global similarity between the structures A and B.</span>
<span class="sd">