n">X</span><span class="p">,</span> <span class="n">Y</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
        <span class="sd">&quot;&quot;&quot;Calculates the pairwise similarity of atomic environments with</span>
<span class="sd">        scikit-learn, and the pairwise metric configured in the constructor.</span>

<span class="sd">        Args:</span>
<span class="sd">            X(np.ndarray): Feature vector for the atoms in structure A</span>
<span class="sd">         