ShottkyScan update
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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]
|
||||
Reference in New Issue
Block a user