      <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Get a ShengBTE control object from a structure.</span>

<span class="sd">        Args:</span>
<span class="sd">            structure: A structure object.</span>
<span class="sd">            reciprocal_density: If not None, the q-point grid (&quot;ngrid&quot;) will be</span>
<span class="sd">                set using this density.</span>
<span class="sd">            kwargs: Additional options to be passed to the Control constructor.</s