<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>FilterParameterWidget</class>
 <widget class="QWidget" name="FilterParameterWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>340</width>
    <height>212</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Filter parameters</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_3">
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
    <number>0</number>
   </property>
   <item>
    <layout class="QHBoxLayout">
     <property name="spacing">
      <number>6</number>
     </property>
     <item>
      <widget class="QComboBox" name="filterType">
       <item>
        <property name="text">
         <string>Low pass</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>High pass</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>Band pass</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>Band reject</string>
        </property>
       </item>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="fromFreqLabel">
       <property name="text">
        <string>from</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QGpGuiTools::DoubleSpinBox" name="filtFromFreq">
       <property name="minimumSize">
        <size>
         <width>20</width>
         <height>0</height>
        </size>
       </property>
       <property name="minimum">
        <double>0.000000000000000</double>
       </property>
       <property name="maximum">
        <double>999999999999999967336168804116691273849533185806555472917961779471295845921727862608739868455469056.000000000000000</double>
       </property>
       <property name="value">
        <double>5.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="toFreqLabel">
       <property name="text">
        <string>Hz to</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QGpGuiTools::DoubleSpinBox" name="filtToFreq">
       <property name="minimumSize">
        <size>
         <width>20</width>
         <height>0</height>
        </size>
       </property>
       <property name="minimum">
        <double>0.000000000000000</double>
       </property>
       <property name="maximum">
        <double>999999999999999967336168804116691273849533185806555472917961779471295845921727862608739868455469056.000000000000000</double>
       </property>
       <property name="value">
        <double>10.000000000000000</double>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="textLabel6_3">
       <property name="text">
        <string>Hz</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QGroupBox" name="buttonGroup6">
     <property name="title">
      <string>Filter method</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <layout class="QHBoxLayout">
        <property name="spacing">
         <number>6</number>
        </property>
        <item>
         <widget class="QRadioButton" name="butterworthButton">
          <property name="text">
           <string>Butterworth filter (outphasing)</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Expanding</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QCheckBox" name="causalEdit">
          <property name="text">
           <string>Causal</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout">
        <property name="spacing">
         <number>6</number>
        </property>
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Expanding</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QLabel" name="orderLabel">
          <property name="text">
           <string>Order of Butterworth's filter</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="orderEdit">
          <property name="minimum">
           <number>1</number>
          </property>
          <property name="maximum">
           <number>50</number>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout">
        <property name="spacing">
         <number>6</number>
        </property>
        <item>
         <widget class="QRadioButton" name="frequencyWindowButton">
          <property name="toolTip">
           <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body &gt;
&lt;p&gt;Multiplication of the complex spetrum by a window function (zero phase filter).&lt;/p&gt;
&lt;p&gt;For low and high pass filters, only half of the window function is used.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="whatsThis">
           <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li {white-space: pre-wrap;}
&lt;/style&gt;&lt;/head&gt;&lt;body &gt;
&lt;p &gt;The modulus of the spectrum will be multiplied by a factor between 0 and 1, not changing the phase of the spectrum.&lt;/p&gt;
&lt;p &gt;The width defines the length of the transition between those two values.&lt;/p&gt;
&lt;p &gt;It is the ratio of the transition range in Hz over the threshold frequency(ies).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="text">
           <string>Frequency domain filter</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_2">
        <item>
         <spacer name="horizontalSpacer">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>148</width>
            <height>13</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <layout class="QVBoxLayout" name="verticalLayout">
          <item>
           <widget class="QGpGuiMath::WindowFunctionParameterWidget" name="windowEdit" native="true"/>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout">
            <item>
             <widget class="QLabel" name="windowWidthLabel">
              <property name="toolTip">
               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Only for low and high pass filters.&lt;/p&gt;&lt;p&gt;A 10% width will generate a smooth transition (first or second half shape of the window function) betwen fc and fc*1.1 for high pass and fc*0.9 and fc for low pass.&lt;/p&gt;&lt;p&gt;Using a Tukey window for low and high pass is relatively meaningless.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
              </property>
              <property name="text">
               <string>Window relative width</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QGpGuiTools::DoubleSpinBox" name="windowWidthEdit">
              <property name="suffix">
               <string> %</string>
              </property>
              <property name="maximum">
               <double>100.000000000000000</double>
              </property>
              <property name="value">
               <double>10.000000000000000</double>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>QGpGuiTools::DoubleSpinBox</class>
   <extends>QDoubleSpinBox</extends>
   <header>QGpGuiTools.h</header>
  </customwidget>
  <customwidget>
   <class>QGpGuiMath::WindowFunctionParameterWidget</class>
   <extends>QWidget</extends>
   <header>QGpGuiMath.h</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>
