Warning, /education/kstars/kstars/ekos/focus/opsfocusprocess.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>OpsFocusProcess</class>
0004  <widget class="QWidget" name="OpsFocusProcess">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>466</width>
0010     <height>280</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Focus Process</string>
0015   </property>
0016   <layout class="QVBoxLayout" name="verticalLayout_3">
0017    <item>
0018     <layout class="QGridLayout" name="gridLayoutProcess" columnstretch="0,0,0,0">
0019      <property name="sizeConstraint">
0020       <enum>QLayout::SetNoConstraint</enum>
0021      </property>
0022      <property name="spacing">
0023       <number>3</number>
0024      </property>
0025      <item row="3" column="3">
0026       <widget class="QDoubleSpinBox" name="focusR2Limit">
0027        <property name="sizePolicy">
0028         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0029          <horstretch>0</horstretch>
0030          <verstretch>0</verstretch>
0031         </sizepolicy>
0032        </property>
0033        <property name="toolTip">
0034         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set a minimum for the acceptable R² when performing an Autofocus run.  The value is between 0 (no fit) and 1 (perfect fit).  0.8 is a good start.  If the minimum is not met,  Autofocus will rerun once to try to improve the R². Currently only available for the Linear 1 Pass algorithm when using a Curve Fit of Hyperbola or Parabola. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0035        </property>
0036        <property name="minimum">
0037         <double>0.000000000000000</double>
0038        </property>
0039        <property name="maximum">
0040         <double>1.000000000000000</double>
0041        </property>
0042        <property name="singleStep">
0043         <double>0.010000000000000</double>
0044        </property>
0045        <property name="value">
0046         <double>0.800000000000000</double>
0047        </property>
0048       </widget>
0049      </item>
0050      <item row="2" column="0">
0051       <widget class="QLabel" name="focusStarMeasureLabel">
0052        <property name="sizePolicy">
0053         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0054          <horstretch>0</horstretch>
0055          <verstretch>0</verstretch>
0056         </sizepolicy>
0057        </property>
0058        <property name="text">
0059         <string>Measure:</string>
0060        </property>
0061        <property name="buddy">
0062         <cstring>focusStarMeasure</cstring>
0063        </property>
0064       </widget>
0065      </item>
0066      <item row="0" column="0">
0067       <widget class="QLabel" name="label_6">
0068        <property name="sizePolicy">
0069         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0070          <horstretch>0</horstretch>
0071          <verstretch>0</verstretch>
0072         </sizepolicy>
0073        </property>
0074        <property name="toolTip">
0075         <string/>
0076        </property>
0077        <property name="text">
0078         <string>Detection:</string>
0079        </property>
0080        <property name="buddy">
0081         <cstring>focusDetection</cstring>
0082        </property>
0083       </widget>
0084      </item>
0085      <item row="4" column="2">
0086       <widget class="QLabel" name="focusFramesCountLabel">
0087        <property name="sizePolicy">
0088         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0089          <horstretch>0</horstretch>
0090          <verstretch>0</verstretch>
0091         </sizepolicy>
0092        </property>
0093        <property name="toolTip">
0094         <string/>
0095        </property>
0096        <property name="text">
0097         <string>Average Over:</string>
0098        </property>
0099        <property name="buddy">
0100         <cstring>focusFramesCount</cstring>
0101        </property>
0102       </widget>
0103      </item>
0104      <item row="3" column="2">
0105       <widget class="QLabel" name="focusR2LimitLabel">
0106        <property name="sizePolicy">
0107         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0108          <horstretch>0</horstretch>
0109          <verstretch>0</verstretch>
0110         </sizepolicy>
0111        </property>
0112        <property name="text">
0113         <string>R² Limit:</string>
0114        </property>
0115        <property name="alignment">
0116         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0117        </property>
0118        <property name="buddy">
0119         <cstring>focusR2Limit</cstring>
0120        </property>
0121       </widget>
0122      </item>
0123      <item row="1" column="0">
0124       <widget class="QLabel" name="label_22">
0125        <property name="sizePolicy">
0126         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0127          <horstretch>0</horstretch>
0128          <verstretch>0</verstretch>
0129         </sizepolicy>
0130        </property>
0131        <property name="toolTip">
0132         <string/>
0133        </property>
0134        <property name="text">
0135         <string>Algorithm:</string>
0136        </property>
0137        <property name="buddy">
0138         <cstring>focusAlgorithm</cstring>
0139        </property>
0140       </widget>
0141      </item>
0142      <item row="4" column="3">
0143       <widget class="QSpinBox" name="focusFramesCount">
0144        <property name="sizePolicy">
0145         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0146          <horstretch>0</horstretch>
0147          <verstretch>0</verstretch>
0148         </sizepolicy>
0149        </property>
0150        <property name="toolTip">
0151         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Number of frames to capture at the current focuser position.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0152        </property>
0153        <property name="suffix">
0154         <string> frames</string>
0155        </property>
0156        <property name="minimum">
0157         <number>1</number>
0158        </property>
0159       </widget>
0160      </item>
0161      <item row="1" column="2">
0162       <widget class="QLabel" name="focusCurveFitLabel">
0163        <property name="enabled">
0164         <bool>true</bool>
0165        </property>
0166        <property name="sizePolicy">
0167         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0168          <horstretch>0</horstretch>
0169          <verstretch>0</verstretch>
0170         </sizepolicy>
0171        </property>
0172        <property name="text">
0173         <string>Curve Fit:</string>
0174        </property>
0175        <property name="buddy">
0176         <cstring>focusCurveFit</cstring>
0177        </property>
0178       </widget>
0179      </item>
0180      <item row="1" column="3">
0181       <widget class="QComboBox" name="focusCurveFit">
0182        <property name="toolTip">
0183         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the type of curve to fit to the data:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Quadratic&lt;/span&gt;: Uses a polynomial fit of degree 2. This is currently the default option and currently the only option for all Algorithms except Linear 1 Pass.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Hyperbola&lt;/span&gt;: Fits a hyperbola to the data points. This is currently only available for the Linear 1 Pass Algorithm.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Parabola&lt;/span&gt;: Fits a parabola to the data points. This is currently only available for the Linear 1 Pass Algorithm.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
0184        </property>
0185        <property name="currentIndex">
0186         <number>1</number>
0187        </property>
0188        <item>
0189         <property name="text">
0190          <string>Quadratic</string>
0191         </property>
0192        </item>
0193        <item>
0194         <property name="text">
0195          <string>Hyperbola</string>
0196         </property>
0197        </item>
0198        <item>
0199         <property name="text">
0200          <string>Parabola</string>
0201         </property>
0202        </item>
0203       </widget>
0204      </item>
0205      <item row="0" column="2">
0206       <widget class="QLabel" name="label_28">
0207        <property name="sizePolicy">
0208         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0209          <horstretch>0</horstretch>
0210          <verstretch>0</verstretch>
0211         </sizepolicy>
0212        </property>
0213        <property name="toolTip">
0214         <string/>
0215        </property>
0216        <property name="text">
0217         <string>SEP Profile:</string>
0218        </property>
0219        <property name="buddy">
0220         <cstring>focusSEPProfile</cstring>
0221        </property>
0222       </widget>
0223      </item>
0224      <item row="2" column="1">
0225       <widget class="QComboBox" name="focusStarMeasure">
0226        <property name="toolTip">
0227         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the Measure to use when fitting a curve for Linear 1 Pass:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;HFR&lt;/span&gt;: Half Flux Radius. Uses an algorithm to calculate the radius of a circle centred on the star centroid that encapsulates half the star's flux.&lt;/li&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;HFR Adj&lt;/span&gt;: Adjusted Half Flux Radius. Normalises the HFR for peak intensity. This is an experimental feature.&lt;/li&gt;&lt;/ul&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;FWHM&lt;/span&gt;: Full Width Half Maximum. Curve fits a PSF to each star centroid and uses the curve to calculate the FWHM. This is an experimental feature.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;# Stars&lt;/span&gt;: Number of stars. The number of detected stars at optimum focus will be a maximum. This is an experimental feature.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Fourier&lt;/span&gt;: Fourier power calculation. Uses the Fourier Transform Power approach developed by Tan and Schulz in https://arxiv.org/pdf/2201.12466.pdf.  At optimum focus the power in frequency space [result of the fourier transform] will be a maximum. This is an experimental feature.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
0228        </property>
0229        <item>
0230         <property name="text">
0231          <string>HFR</string>
0232         </property>
0233        </item>
0234        <item>
0235         <property name="text">
0236          <string>HFR Adj</string>
0237         </property>
0238        </item>
0239        <item>
0240         <property name="text">
0241          <string>FWHM</string>
0242         </property>
0243        </item>
0244        <item>
0245         <property name="text">
0246          <string># Stars</string>
0247         </property>
0248        </item>
0249        <item>
0250         <property name="text">
0251          <string>Fourier</string>
0252         </property>
0253        </item>
0254       </widget>
0255      </item>
0256      <item row="4" column="0" colspan="2">
0257       <widget class="QCheckBox" name="focusRefineCurveFit">
0258        <property name="toolTip">
0259         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Check to run an outlier pass when all datapoints have been taken. The pass uses Peirce's Criteria for outlier threshold detection. If there are outliers, these are removed and curve fitting rerun. If the R² is improved by the process then this new dataset is used and outliers highlighted on the v-curve. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0260        </property>
0261        <property name="text">
0262         <string>Refine Curve Fit</string>
0263        </property>
0264       </widget>
0265      </item>
0266      <item row="3" column="0" colspan="2">
0267       <widget class="QCheckBox" name="focusUseWeights">
0268        <property name="sizePolicy">
0269         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0270          <horstretch>0</horstretch>
0271          <verstretch>0</verstretch>
0272         </sizepolicy>
0273        </property>
0274        <property name="toolTip">
0275         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Check to use the standard deviation of the star HFR or FWHM as a weighting to the curve fitting algorithm. If unchecked, all data points are given equal weighting. Currently only available when using Full Field (multiple stars) and a Curve Fit of Hyperbola or Parabola under the Linear 1 Pass algorithm. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0276        </property>
0277        <property name="text">
0278         <string>Use Weights</string>
0279        </property>
0280       </widget>
0281      </item>
0282      <item row="1" column="1">
0283       <widget class="QComboBox" name="focusAlgorithm">
0284        <property name="sizePolicy">
0285         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0286          <horstretch>0</horstretch>
0287          <verstretch>0</verstretch>
0288         </sizepolicy>
0289        </property>
0290        <property name="toolTip">
0291         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select focus process algorithm:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Iterative&lt;/span&gt;: Moves focuser by discreet steps initially decided by the step size. Once a curve slope is calculated,  further step sizes are calculated to reach optimal solution. The algorithm stops when the measured HFR is within percentage Tolerance of the minimum HFR recorded in the procedure.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Polynomial&lt;/span&gt;: Starts with iterative method.  Upon crossing to the other side of the V-Curve,  polynomial fitting coefficients along with possible minimum solution are calculated. This algorithm can be faster than purely iterative approach given a good data set.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Linear&lt;/span&gt;: Samples focus inward in a regular fashion, using 2 passes.  The algorithm can be slow, but it is more resilient to backlash.  Start with the focuser positioned near good focus.  Set Initial Step Size and Max Travel for the desired sampling interval and range around start focus position.  Tolerance should be around 5%.&lt;/li&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Linear 1 Pass&lt;/span&gt;: Starts like &lt;span style=&quot; font-weight:600;&quot;&gt;Linear&lt;/span&gt; but after completing the 1st pass, instead of doing a 2nd pass,  moves straight to the minimum HFR value calculated.  Use Curve Fit of Hyperbola or Parabola.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
0292        </property>
0293        <property name="currentIndex">
0294         <number>3</number>
0295        </property>
0296        <item>
0297         <property name="text">
0298          <string>Iterative</string>
0299         </property>
0300        </item>
0301        <item>
0302         <property name="text">
0303          <string>Polynomial</string>
0304         </property>
0305        </item>
0306        <item>
0307         <property name="text">
0308          <string>Linear</string>
0309         </property>
0310        </item>
0311        <item>
0312         <property name="text">
0313          <string>Linear 1 Pass</string>
0314         </property>
0315        </item>
0316       </widget>
0317      </item>
0318      <item row="0" column="3">
0319       <layout class="QHBoxLayout" name="horizontalLayout_7">
0320        <property name="spacing">
0321         <number>3</number>
0322        </property>
0323        <item>
0324         <widget class="QComboBox" name="focusSEPProfile"/>
0325        </item>
0326        <item>
0327         <widget class="QPushButton" name="editFocusProfile">
0328          <property name="text">
0329           <string/>
0330          </property>
0331         </widget>
0332        </item>
0333       </layout>
0334      </item>
0335      <item row="0" column="1">
0336       <widget class="QComboBox" name="focusDetection">
0337        <property name="sizePolicy">
0338         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0339          <horstretch>0</horstretch>
0340          <verstretch>0</verstretch>
0341         </sizepolicy>
0342        </property>
0343        <property name="toolTip">
0344         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Star detection method:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;SEP:&lt;/span&gt; Source Extractor and Photometry, an efficient source detection method based on Source Extractor (Bertin and Arnouts 1996; Bertin 2016). See &lt;a href=&quot;https://joss.theoj.org/papers/10.21105/joss.00058.pdf&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;SEP: Source Extractor as a library&lt;/span&gt;&lt;/a&gt; in the Journal of Open Source Software.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Centroid&lt;/span&gt;: a source detection based on estimating star mass around signal peaks.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Gradient&lt;/span&gt;: a single source detection based on the Sobel filter. Initial or full-field analysis will use SEP instead of this method.&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Threshold&lt;/span&gt;: a single source detection based on pixel values. Initial or full-field analysis will use SEP instead of this method.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
0345        </property>
0346        <property name="currentIndex">
0347         <number>3</number>
0348        </property>
0349        <item>
0350         <property name="text">
0351          <string>Gradient</string>
0352         </property>
0353        </item>
0354        <item>
0355         <property name="text">
0356          <string>Centroid</string>
0357         </property>
0358        </item>
0359        <item>
0360         <property name="text">
0361          <string>Threshold</string>
0362         </property>
0363        </item>
0364        <item>
0365         <property name="text">
0366          <string>SEP</string>
0367         </property>
0368        </item>
0369        <item>
0370         <property name="text">
0371          <string>Bahtinov</string>
0372         </property>
0373        </item>
0374       </widget>
0375      </item>
0376      <item row="2" column="2">
0377       <widget class="QLabel" name="focusStarPSFLabel">
0378        <property name="sizePolicy">
0379         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0380          <horstretch>0</horstretch>
0381          <verstretch>0</verstretch>
0382         </sizepolicy>
0383        </property>
0384        <property name="text">
0385         <string>PSF:</string>
0386        </property>
0387        <property name="buddy">
0388         <cstring>focusStarPSF</cstring>
0389        </property>
0390       </widget>
0391      </item>
0392      <item row="2" column="3">
0393       <widget class="QComboBox" name="focusStarPSF">
0394        <property name="toolTip">
0395         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The type of PSF to use when Measure is set to FWHM:&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Gaussian&lt;/span&gt;: Uses a 2D Gaussian. This is an experimental feature.&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
0396        </property>
0397        <item>
0398         <property name="text">
0399          <string>Gaussian</string>
0400         </property>
0401        </item>
0402       </widget>
0403      </item>
0404     </layout>
0405    </item>
0406    <item>
0407     <layout class="QGridLayout" name="gridLayoutProcessBucket" columnstretch="0,0,0,0">
0408      <property name="spacing">
0409       <number>0</number>
0410      </property>
0411      <item row="1" column="0">
0412       <widget class="QLabel" name="focusThresholdLabel">
0413        <property name="sizePolicy">
0414         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0415          <horstretch>0</horstretch>
0416          <verstretch>0</verstretch>
0417         </sizepolicy>
0418        </property>
0419        <property name="toolTip">
0420         <string/>
0421        </property>
0422        <property name="text">
0423         <string>Threshold:</string>
0424        </property>
0425        <property name="buddy">
0426         <cstring>focusThreshold</cstring>
0427        </property>
0428       </widget>
0429      </item>
0430      <item row="1" column="3">
0431       <widget class="QSpinBox" name="focusGaussianKernelSize">
0432        <property name="sizePolicy">
0433         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0434          <horstretch>0</horstretch>
0435          <verstretch>0</verstretch>
0436         </sizepolicy>
0437        </property>
0438        <property name="toolTip">
0439         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The gaussian blur kernel size. Used for blurring the image before for instance the Bahtinov edge detection.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0440        </property>
0441        <property name="minimum">
0442         <number>3</number>
0443        </property>
0444        <property name="maximum">
0445         <number>15</number>
0446        </property>
0447        <property name="singleStep">
0448         <number>2</number>
0449        </property>
0450        <property name="value">
0451         <number>5</number>
0452        </property>
0453       </widget>
0454      </item>
0455      <item row="1" column="2">
0456       <widget class="QLabel" name="focusGaussianKernelSizeLabel">
0457        <property name="sizePolicy">
0458         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0459          <horstretch>0</horstretch>
0460          <verstretch>0</verstretch>
0461         </sizepolicy>
0462        </property>
0463        <property name="text">
0464         <string>Kernel size:</string>
0465        </property>
0466        <property name="buddy">
0467         <cstring>focusGaussianKernelSize</cstring>
0468        </property>
0469       </widget>
0470      </item>
0471      <item row="0" column="2">
0472       <widget class="QLabel" name="focusGaussianSigmaLabel">
0473        <property name="sizePolicy">
0474         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0475          <horstretch>0</horstretch>
0476          <verstretch>0</verstretch>
0477         </sizepolicy>
0478        </property>
0479        <property name="text">
0480         <string>Sigma:</string>
0481        </property>
0482        <property name="buddy">
0483         <cstring>focusGaussianSigma</cstring>
0484        </property>
0485       </widget>
0486      </item>
0487      <item row="0" column="0">
0488       <widget class="QLabel" name="focusMultiRowAverageLabel">
0489        <property name="sizePolicy">
0490         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0491          <horstretch>0</horstretch>
0492          <verstretch>0</verstretch>
0493         </sizepolicy>
0494        </property>
0495        <property name="text">
0496         <string>Num. of rows:</string>
0497        </property>
0498        <property name="buddy">
0499         <cstring>focusMultiRowAverage</cstring>
0500        </property>
0501       </widget>
0502      </item>
0503      <item row="1" column="1">
0504       <widget class="QDoubleSpinBox" name="focusThreshold">
0505        <property name="enabled">
0506         <bool>true</bool>
0507        </property>
0508        <property name="sizePolicy">
0509         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0510          <horstretch>0</horstretch>
0511          <verstretch>0</verstretch>
0512         </sizepolicy>
0513        </property>
0514        <property name="toolTip">
0515         <string>&lt;html&gt;&lt;body&gt;&lt;p&gt;Increase to restrict the centroid to bright cores. Decrease to enclose fuzzy stars.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0516        </property>
0517        <property name="suffix">
0518         <string> %</string>
0519        </property>
0520        <property name="minimum">
0521         <double>90.000000000000000</double>
0522        </property>
0523        <property name="maximum">
0524         <double>500.000000000000000</double>
0525        </property>
0526        <property name="singleStep">
0527         <double>10.000000000000000</double>
0528        </property>
0529        <property name="value">
0530         <double>150.000000000000000</double>
0531        </property>
0532       </widget>
0533      </item>
0534      <item row="0" column="1">
0535       <widget class="QSpinBox" name="focusMultiRowAverage">
0536        <property name="sizePolicy">
0537         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0538          <horstretch>0</horstretch>
0539          <verstretch>0</verstretch>
0540         </sizepolicy>
0541        </property>
0542        <property name="toolTip">
0543         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Combine this number of rows in the Bahtinov max average calculation. Change this value might help to match the Bahtinov lines on the star pattern more accurate.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0544        </property>
0545        <property name="minimum">
0546         <number>1</number>
0547        </property>
0548        <property name="maximum">
0549         <number>15</number>
0550        </property>
0551        <property name="singleStep">
0552         <number>2</number>
0553        </property>
0554        <property name="value">
0555         <number>3</number>
0556        </property>
0557       </widget>
0558      </item>
0559      <item row="0" column="3">
0560       <widget class="QDoubleSpinBox" name="focusGaussianSigma">
0561        <property name="sizePolicy">
0562         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0563          <horstretch>0</horstretch>
0564          <verstretch>0</verstretch>
0565         </sizepolicy>
0566        </property>
0567        <property name="toolTip">
0568         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The gaussian blur sigma value. Used for blurring the image before for instance the Bahtinov edge detection.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0569        </property>
0570        <property name="minimum">
0571         <double>0.100000000000000</double>
0572        </property>
0573        <property name="maximum">
0574         <double>10.000000000000000</double>
0575        </property>
0576        <property name="singleStep">
0577         <double>0.100000000000000</double>
0578        </property>
0579        <property name="value">
0580         <double>1.500000000000000</double>
0581        </property>
0582       </widget>
0583      </item>
0584      <item row="2" column="0">
0585       <widget class="QLabel" name="focusToleranceLabel">
0586        <property name="sizePolicy">
0587         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0588          <horstretch>0</horstretch>
0589          <verstretch>0</verstretch>
0590         </sizepolicy>
0591        </property>
0592        <property name="toolTip">
0593         <string/>
0594        </property>
0595        <property name="text">
0596         <string>Tolerance:</string>
0597        </property>
0598        <property name="buddy">
0599         <cstring>focusTolerance</cstring>
0600        </property>
0601       </widget>
0602      </item>
0603      <item row="2" column="1">
0604       <widget class="QDoubleSpinBox" name="focusTolerance">
0605        <property name="sizePolicy">
0606         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0607          <horstretch>0</horstretch>
0608          <verstretch>0</verstretch>
0609         </sizepolicy>
0610        </property>
0611        <property name="toolTip">
0612         <string>Decrease value to narrow optimal focus point solution radius. Increase to expand solution radius</string>
0613        </property>
0614        <property name="suffix">
0615         <string> %</string>
0616        </property>
0617        <property name="minimum">
0618         <double>0.010000000000000</double>
0619        </property>
0620        <property name="maximum">
0621         <double>20.000000000000000</double>
0622        </property>
0623        <property name="singleStep">
0624         <double>0.100000000000000</double>
0625        </property>
0626        <property name="value">
0627         <double>1.000000000000000</double>
0628        </property>
0629       </widget>
0630      </item>
0631     </layout>
0632    </item>
0633    <item>
0634     <widget class="QGroupBox" name="focusDonut">
0635      <property name="toolTip">
0636       <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Check to enable Donut Busting functionality. Use on telescopes with a central obstruction that create donut shaped stars when defocused.&lt;/p&gt;&lt;p&gt;This is a currently an experimental feature that should be used with caution.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0637      </property>
0638      <property name="title">
0639       <string>Donut Buster (WARNING: Experimental Feature)</string>
0640      </property>
0641      <property name="flat">
0642       <bool>true</bool>
0643      </property>
0644      <property name="checkable">
0645       <bool>true</bool>
0646      </property>
0647      <property name="checked">
0648       <bool>true</bool>
0649      </property>
0650      <layout class="QGridLayout" name="gridLayout">
0651       <item row="0" column="0">
0652        <widget class="QLabel" name="label">
0653         <property name="enabled">
0654          <bool>true</bool>
0655         </property>
0656         <property name="text">
0657          <string>Time Dilation Factor:</string>
0658         </property>
0659         <property name="buddy">
0660          <cstring>focusTimeDilation</cstring>
0661         </property>
0662        </widget>
0663       </item>
0664       <item row="0" column="1">
0665        <widget class="QDoubleSpinBox" name="focusTimeDilation">
0666         <property name="enabled">
0667          <bool>true</bool>
0668         </property>
0669         <property name="toolTip">
0670          <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The furthest datapoints have their exposure times increased by this factor. The in focus datapoint exposure is not increased. Intermediate points have their exposures scaled appropriately.&lt;/p&gt;&lt;p&gt;Set to 1 to disable this option.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0671         </property>
0672         <property name="prefix">
0673          <string/>
0674         </property>
0675         <property name="minimum">
0676          <double>1.000000000000000</double>
0677         </property>
0678         <property name="maximum">
0679          <double>20.000000000000000</double>
0680         </property>
0681         <property name="value">
0682          <double>1.000000000000000</double>
0683         </property>
0684        </widget>
0685       </item>
0686      </layout>
0687     </widget>
0688    </item>
0689    <item>
0690     <spacer name="verticalSpacer">
0691      <property name="orientation">
0692       <enum>Qt::Vertical</enum>
0693      </property>
0694      <property name="sizeHint" stdset="0">
0695       <size>
0696        <width>20</width>
0697        <height>40</height>
0698       </size>
0699      </property>
0700     </spacer>
0701    </item>
0702   </layout>
0703  </widget>
0704  <tabstops>
0705   <tabstop>focusDetection</tabstop>
0706   <tabstop>focusSEPProfile</tabstop>
0707   <tabstop>editFocusProfile</tabstop>
0708   <tabstop>focusAlgorithm</tabstop>
0709   <tabstop>focusCurveFit</tabstop>
0710   <tabstop>focusStarMeasure</tabstop>
0711   <tabstop>focusStarPSF</tabstop>
0712   <tabstop>focusUseWeights</tabstop>
0713   <tabstop>focusR2Limit</tabstop>
0714   <tabstop>focusRefineCurveFit</tabstop>
0715   <tabstop>focusFramesCount</tabstop>
0716   <tabstop>focusMultiRowAverage</tabstop>
0717   <tabstop>focusGaussianSigma</tabstop>
0718   <tabstop>focusThreshold</tabstop>
0719   <tabstop>focusGaussianKernelSize</tabstop>
0720   <tabstop>focusTolerance</tabstop>
0721  </tabstops>
0722  <resources/>
0723  <connections/>
0724 </ui>