ShottkyScan update

This commit is contained in:
sfop
2017-01-24 11:08:39 +01:00
parent 45fe3cb594
commit c67c88130c
3 changed files with 3 additions and 3 deletions

View File

@@ -265,7 +265,7 @@
<Component class="javax.swing.JLabel" name="jLabel7">
<Properties>
<Property name="horizontalAlignment" type="int" value="11"/>
<Property name="text" type="java.lang.String" value="Ref Pjase:"/>
<Property name="text" type="java.lang.String" value="Ref Phase:"/>
</Properties>
</Component>
<Component class="javax.swing.JSpinner" name="spinnerPhaseRef">

View File

@@ -221,7 +221,7 @@ public class ShottkyScan extends Panel {
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Output"));
jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
jLabel7.setText("Ref Pjase:");
jLabel7.setText("Ref Phase:");
spinnerPhaseRef.setModel(new javax.swing.SpinnerNumberModel(0.0d, -45.0d, 360.0d, 1.0d));
spinnerPhaseRef.addChangeListener(new javax.swing.event.ChangeListener() {

View File

@@ -48,4 +48,4 @@ y = r.getReadable(0)
x = r.getPositions(0)
y = [v.mean for v in y]
index_max = y.index(max(y))
set_return(x[index_max])
_ = x[index_max]