<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power operator at the Band Arithmetic in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200119#M58258</link>
    <description>&lt;P&gt;That should work, if you make the assignments&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;B1 = Raster('rasterFile\Band_1')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;B2 = Raster('rasterFile\Band_2')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;B3 = Raster('rasterFile\Band_3')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;index =&amp;nbsp;&lt;SPAN&gt;0.5847*((B1**(-0.1294))*(B2**0.3389)*(B3**(-0.3118)))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;— Andy&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Aug 2022 06:10:55 GMT</pubDate>
    <dc:creator>AndyAnderson</dc:creator>
    <dc:date>2022-08-06T06:10:55Z</dc:date>
    <item>
      <title>Power operator at the Band Arithmetic</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200091#M58256</link>
      <description>&lt;P&gt;Hello! Maybe anybody knows how to use the power operator to create a formula to calculate an index based on the image bands. For example, I try to use formula:&amp;nbsp;0.5847*((B1**(-0.1294))*(B2**0.3389)*(B3**(-0.3118))).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 22:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200091#M58256</guid>
      <dc:creator>VarvaraVedukhina</dc:creator>
      <dc:date>2022-08-05T22:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Power operator at the Band Arithmetic</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200119#M58258</link>
      <description>&lt;P&gt;That should work, if you make the assignments&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;B1 = Raster('rasterFile\Band_1')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;B2 = Raster('rasterFile\Band_2')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;B3 = Raster('rasterFile\Band_3')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;index =&amp;nbsp;&lt;SPAN&gt;0.5847*((B1**(-0.1294))*(B2**0.3389)*(B3**(-0.3118)))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;— Andy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2022 06:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200119#M58258</guid>
      <dc:creator>AndyAnderson</dc:creator>
      <dc:date>2022-08-06T06:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Power operator at the Band Arithmetic</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200159#M58267</link>
      <description>&lt;P&gt;Thank you for the solution. Can you explain where to create it, please? I mean what tool I should use if I work at the ArcGIS Pro 2.9.3.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2022 20:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200159#M58267</guid>
      <dc:creator>VarvaraVedukhina</dc:creator>
      <dc:date>2022-08-06T20:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Power operator at the Band Arithmetic</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200165#M58268</link>
      <description>&lt;P&gt;Simplest is the Python window, or if you want to save it for future reference you could create a Jupyter notebook; both are available in the ribbon &lt;STRONG&gt;Analysis&lt;/STRONG&gt;. If you plan to use it repeatedly, though, I’d create a script in a toolbox, which would allow you to easily load different files as arguments:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.9/arcpy/geoprocessing_and_python/adding-a-script-tool.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/2.9/arcpy/geoprocessing_and_python/adding-a-script-tool.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Oddly these instructions are incomplete; go to the list item &lt;STRONG&gt;Execution&lt;/STRONG&gt;, and you'll find the beginning of a script to which you can add the code above, with '&lt;SPAN&gt;rasterFile&lt;/SPAN&gt;' returned in the line:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;param0 = arcpy.GetParameterAsText(0)&lt;/P&gt;&lt;P&gt;— Andy&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2022 22:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/power-operator-at-the-band-arithmetic/m-p/1200165#M58268</guid>
      <dc:creator>AndyAnderson</dc:creator>
      <dc:date>2022-08-06T22:24:07Z</dc:date>
    </item>
  </channel>
</rss>

