﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Solver" version="1.3.0.9126"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="168">
    <identity>
      <id>e278cec1-574e-48b4-82b5-8a3534c2a6dc</id>
      <revision>3</revision>
    </identity>
    <metadata lang="ita">
      <author>sergio</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <mixedNumbers>false</mixedNumbers>
      <roundingMode>0</roundingMode>
      <approximateEqualAccuracy>3</approximateEqualAccuracy>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true" hideElementsHighlightings="true">
      <paper id="0" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Core" version="1.73.9126.0" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.73.9126.0" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.73.9126.0" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.73.9126.0" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="FFTPACK" version="1.1.7563.3712" guid="a2e19c35-336f-46e2-9669-25c2cf66b536" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.4.9441.40064" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="18" width="184" height="23" color="#000000" fontSize="10" isBreakable="false">
      <text lang="ger" fontFamily="Arial" fontSize="10">
        <content>
          <p>Definition of the Slit Function</p>
        </content>
      </text>
    </region>
    <region left="36" top="54" width="740" height="38" color="#000000" fontSize="10" isBreakable="false">
      <text lang="ger" fontFamily="Arial" fontSize="10">
        <content>
          <p>We perform a numerical Fourier transform here. Therefore, we need discrete support points. For the calculationii (FFT), it's advantageous if the number of support points is a power of 2 (here 512).</p>
        </content>
      </text>
    </region>
    <region left="36" top="108" width="104" height="33" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">N0</e>
          <e type="operand">2</e>
          <e type="operand">9</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">512</e>
        </result>
      </math>
    </region>
    <region left="36" top="144" width="129" height="28" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">k</e>
          <e type="operand">0</e>
          <e type="operand">N0</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="198" width="211" height="23" color="#000000" fontSize="10">
      <text lang="ger" fontFamily="Arial" fontSize="10">
        <content>
          <p>(Half) silt width a in arbitrary units</p>
        </content>
      </text>
    </region>
    <region left="36" top="225" width="54" height="24" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">10</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="261" width="133" height="76" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">x</e>
          <e type="function" args="1">f</e>
          <e type="operand">x</e>
          <e type="function" args="1">abs</e>
          <e type="operand">a</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">1</e>
          <e type="operand">0</e>
          <e type="function" args="3">if</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="342" width="105" height="32" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">spalt</e>
          <e type="operand">k</e>
          <e type="function" args="1">f</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="45" top="396" width="141" height="23" color="#000000" fontSize="10" isBreakable="false">
      <text lang="eng" fontFamily="Arial" fontSize="10">
        <content>
          <p>Fouriertransformation</p>
        </content>
      </text>
    </region>
    <region left="45" top="423" width="191" height="26" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">fft_spalt</e>
          <e type="operand">spalt</e>
          <e type="function" args="1">rfft</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="63" top="486" width="310" height="208" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot animFrameRate="20" animPlaybackMode="RepeatIndefinitely" width="300" height="200" points="100" name="XYPlot" keepAspectRatio="false">
        <chartstyle usedefault="false" backcolor="White" bordercolor="Black" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-113.7817" xmax="561.4219" xtick="200" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-0.3535999" ymax="1.484529" ytick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="" titlefont="Arial, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 0, 0, 255" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">k</e>
          <e type="operand">spalt</e>
          <e type="function" args="2">augment</e>
        </input>
      </xyplot>
    </region>
    <region left="540" top="648" width="118" height="45" color="#000000" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">kk</e>
          <e type="operand">0</e>
          <e type="operand">N0</e>
          <e type="operand">2</e>
          <e type="operator" args="2">/</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="531" top="702" width="142" height="43" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">b</e>
          <e type="operand">fft_spalt</e>
          <e type="function" args="1">abs</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="54" top="747" width="310" height="208" color="#000000" fontSize="10">
      <xyplot animFrameRate="20" animPlaybackMode="RepeatIndefinitely" width="300" height="200" points="100" name="XYPlot" keepAspectRatio="false">
        <chartstyle usedefault="false" backcolor="White" bordercolor="Black" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" isy2grid="false" />
        <xaxes xmin="-109.6598" xmax="386.7842" xtick="200" visible="True" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-0.0001116576" ymax="0.0004832092" ytick="0.0002" visible="True" decimalplaces="3" numberformat="General" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" visible="True" decimalplaces="3" numberformat="General" />
        <title2d title="" titlefont="Arial, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="false" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="true" linecolor="Blue" linethickness="1" linepattern="Solid" fillmode="Auto" filltotrace="-1" filled="false" hatched="false" fillcolor="64, 0, 0, 255" hatchstyle="Percent20" symbolantialias="true" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">kk</e>
          <e type="operand">fft_spalt</e>
          <e type="function" args="1">abs</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="function" args="1">vectorize</e>
          <e type="function" args="2">augment</e>
        </input>
      </xyplot>
    </region>
  </regions>
</worksheet>