class="p">)</span>
                    <span class="n">descriptors</span> <span class="o">=</span> <span class="n">sp</span><span class="o">.</span><span class="n">COO</span><span class="p">(</span><span class="n">coords_des</span><span class="p">,</span> <span class="n">data_des</span><span class="p">,</span> <span class="n">shape</span><span class="o">=</span><span class="n">shape_des</span><span class="p">)</span>
                <span class="k">if</span> <span class="n">derivatives_shape</span> <span cl