Skip to content

Commit

Permalink
Generated gh-pages for commit 10a9f93
Browse files Browse the repository at this point in the history
Author: Jens Hedegaard Nielsen <[email protected]>

    Fix: Improve qtplot performance (#712)
  • Loading branch information
Documentation Bot committed Aug 16, 2017
1 parent 628b702 commit d415be8
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
4 changes: 3 additions & 1 deletion _modules/qcodes/plots/pyqtgraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ <h1>Source code for qcodes.plots.pyqtgraph</h1><div class="highlight"><pre>
<span class="n">cycle</span> <span class="o">=</span> <span class="n">color_cycle</span>
<span class="n">color</span> <span class="o">=</span> <span class="n">cycle</span><span class="p">[</span><span class="nb">len</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">traces</span><span class="p">)</span> <span class="o">%</span> <span class="nb">len</span><span class="p">(</span><span class="n">cycle</span><span class="p">)]</span>
<span class="k">if</span> <span class="n">width</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">width</span> <span class="o">=</span> <span class="mi">2</span>
<span class="c1"># there are currently very significant performance issues</span>
<span class="c1"># with a penwidth larger than one</span>
<span class="n">width</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">kwargs</span><span class="p">[</span><span class="s1">&#39;pen&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">rpg</span><span class="o">.</span><span class="n">mkPen</span><span class="p">(</span><span class="n">color</span><span class="p">,</span> <span class="n">width</span><span class="o">=</span><span class="n">width</span><span class="p">)</span>

<span class="k">if</span> <span class="n">antialias</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
Expand Down
4 changes: 2 additions & 2 deletions api/generated/qcodes.instrument_drivers.QDev.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<dl class="attribute">
<dt id="qcodes.instrument_drivers.QDev.QDac.QDac.voltage_range_status">
<code class="descname">voltage_range_status</code><em class="property"> = {'X 0.1': 1, 'X 1': 10}</em><a class="headerlink" href="#qcodes.instrument_drivers.QDev.QDac.QDac.voltage_range_status" title="Permalink to this definition"></a></dt>
<code class="descname">voltage_range_status</code><em class="property"> = {'X 1': 10, 'X 0.1': 1}</em><a class="headerlink" href="#qcodes.instrument_drivers.QDev.QDac.QDac.voltage_range_status" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
Expand Down Expand Up @@ -383,7 +383,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<dl class="attribute">
<dt id="qcodes.instrument_drivers.QDev.QDac_channels.QDac.voltage_range_status">
<code class="descname">voltage_range_status</code><em class="property"> = {'X 0.1': 1, 'X 1': 10}</em><a class="headerlink" href="#qcodes.instrument_drivers.QDev.QDac_channels.QDac.voltage_range_status" title="Permalink to this definition"></a></dt>
<code class="descname">voltage_range_status</code><em class="property"> = {'X 1': 10, 'X 0.1': 1}</em><a class="headerlink" href="#qcodes.instrument_drivers.QDev.QDac_channels.QDac.voltage_range_status" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
Expand Down
10 changes: 5 additions & 5 deletions api/generated/qcodes.instrument_drivers.american_magnetics.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3.5/library/string.html#module-string" title="(in Python v3.5)"><em>string</em></a>) – a name for the instrument</li>
<li><strong>magnet_x</strong> (<a class="reference internal" href="#module-qcodes.instrument_drivers.american_magnetics.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430"><em>AMI430</em></a>) – magnet for the x component</li>
<li><strong>magnet_y</strong> (<a class="reference internal" href="#module-qcodes.instrument_drivers.american_magnetics.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430"><em>AMI430</em></a>) – magnet for the y component</li>
<li><strong>magnet_x</strong> (<a class="reference internal" href="#qcodes.instrument_drivers.american_magnetics.AMI430.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430.AMI430"><em>AMI430</em></a>) – magnet for the x component</li>
<li><strong>magnet_y</strong> (<a class="reference internal" href="#qcodes.instrument_drivers.american_magnetics.AMI430.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430.AMI430"><em>AMI430</em></a>) – magnet for the y component</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -295,9 +295,9 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3.5/library/string.html#module-string" title="(in Python v3.5)"><em>string</em></a>) – a name for the instrument</li>
<li><strong>magnet_x</strong> (<a class="reference internal" href="#module-qcodes.instrument_drivers.american_magnetics.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430"><em>AMI430</em></a>) – magnet driver for the x component</li>
<li><strong>magnet_y</strong> (<a class="reference internal" href="#module-qcodes.instrument_drivers.american_magnetics.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430"><em>AMI430</em></a>) – magnet driver for the y component</li>
<li><strong>magnet_z</strong> (<a class="reference internal" href="#module-qcodes.instrument_drivers.american_magnetics.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430"><em>AMI430</em></a>) – magnet driver for the z component</li>
<li><strong>magnet_x</strong> (<a class="reference internal" href="#qcodes.instrument_drivers.american_magnetics.AMI430.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430.AMI430"><em>AMI430</em></a>) – magnet driver for the x component</li>
<li><strong>magnet_y</strong> (<a class="reference internal" href="#qcodes.instrument_drivers.american_magnetics.AMI430.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430.AMI430"><em>AMI430</em></a>) – magnet driver for the y component</li>
<li><strong>magnet_z</strong> (<a class="reference internal" href="#qcodes.instrument_drivers.american_magnetics.AMI430.AMI430" title="qcodes.instrument_drivers.american_magnetics.AMI430.AMI430"><em>AMI430</em></a>) – magnet driver for the z component</li>
</ul>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion api/generated/qcodes.instrument_drivers.signal_hound.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<dl class="attribute">
<dt id="qcodes.instrument_drivers.signal_hound.USB_SA124B.SignalHound_USB_SA124B.saStatus">
<code class="descname">saStatus</code><em class="property"> = {'saTrackingGeneratorNotFound': -10, 'saBandwidthErr': -91, 'saParameterClamped': 3, 'saUnknownErr': -666, 'saFrequencyRangeErr': -99, 'saDeviceNotOpenErr': -3, 'saNullPtrErr': -1, 'saInternetErr': -12, 'saNoCorrections': 1, 'saInvalidScaleErr': -94, 'saDeviceNotIdleErr': -9, 'saUSBCommErr': -11, 'saInvalidParameterErr': -4, 'saInvalidDeviceErr': -2, 'saInvalidDetectorErr': -95, 'saDeviceNotConfiguredErr': -6, 'saNotConfiguredErr': -6, 'saTooManyDevicesErr': -5, 'saBandwidthClamped': 4, 'saDeviceNotFoundErr': -8, 'saOvenColdErr': -20, 'saCompressionWarning': 2, 'saNoError': 0, 'saInvalidModeErr': -7, 'saExternalReferenceNotFound': -89}</em><a class="headerlink" href="#qcodes.instrument_drivers.signal_hound.USB_SA124B.SignalHound_USB_SA124B.saStatus" title="Permalink to this definition"></a></dt>
<code class="descname">saStatus</code><em class="property"> = {'saInvalidScaleErr': -94, 'saExternalReferenceNotFound': -89, 'saInvalidDetectorErr': -95, 'saDeviceNotFoundErr': -8, 'saOvenColdErr': -20, 'saUSBCommErr': -11, 'saInvalidModeErr': -7, 'saNoError': 0, 'saNullPtrErr': -1, 'saUnknownErr': -666, 'saBandwidthClamped': 4, 'saDeviceNotOpenErr': -3, 'saTooManyDevicesErr': -5, 'saFrequencyRangeErr': -99, 'saTrackingGeneratorNotFound': -10, 'saNoCorrections': 1, 'saInternetErr': -12, 'saDeviceNotConfiguredErr': -6, 'saCompressionWarning': 2, 'saInvalidParameterErr': -4, 'saNotConfiguredErr': -6, 'saInvalidDeviceErr': -2, 'saParameterClamped': 3, 'saDeviceNotIdleErr': -9, 'saBandwidthErr': -91}</em><a class="headerlink" href="#qcodes.instrument_drivers.signal_hound.USB_SA124B.SignalHound_USB_SA124B.saStatus" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="attribute">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>measured_param</strong> (<a class="reference internal" href="qcodes.Parameter.html#qcodes.Parameter" title="qcodes.Parameter"><em>Parameter</em></a>) – a gettable parameter returning the
voltage read from the SR560 output.</li>
<li><strong>v_amp_ins</strong> (<a class="reference internal" href="#qcodes.instrument_drivers.stanford_research.SR560.SR560" title="qcodes.instrument_drivers.stanford_research.SR560.SR560"><em>SR560</em></a>) – <p>an SR560 instance where you manually
<li><strong>v_amp_ins</strong> (<a class="reference internal" href="#module-qcodes.instrument_drivers.stanford_research.SR560" title="qcodes.instrument_drivers.stanford_research.SR560"><em>SR560</em></a>) – <p>an SR560 instance where you manually
maintain the present settings of the real SR560 amp.</p>
<p>Note: it should be possible to use other voltage preamps, if they
define parameters <code class="docutils literal"><span class="pre">gain</span></code> (V_out / V_in) and <code class="docutils literal"><span class="pre">invert</span></code>
Expand Down
4 changes: 2 additions & 2 deletions api/generated/qcodes.instrument_drivers.tektronix.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,12 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
</table>
<dl class="attribute">
<dt id="qcodes.instrument_drivers.tektronix.AWG5014.Tektronix_AWG5014.AWG_FILE_FORMAT_CHANNEL">
<code class="descname">AWG_FILE_FORMAT_CHANNEL</code><em class="property"> = {'ANALOG_LOW_N': 'd', 'ANALOG_HIGH_N': 'd', 'MARKER1_AMPLITUDE_N': 'd', 'MARKER1_METHOD_N': 'h', 'MARKER2_METHOD_N': 'h', 'MARKER2_LOW_N': 'd', 'DIGITAL_AMPLITUDE_N': 'd', 'MARKER1_OFFSET_N': 'd', 'DIGITAL_LOW_N': 'd', 'OUTPUT_WAVEFORM_NAME_N': 's', 'MARKER1_SKEW_N': 'd', 'ANALOG_DIRECT_OUTPUT_N': 'h', 'ANALOG_METHOD_N': 'h', 'EXTERNAL_ADD_N': 'h', 'MARKER2_HIGH_N': 'd', 'CHANNEL_STATE_N': 'h', 'ANALOG_FILTER_N': 'h', 'DC_OUTPUT_LEVEL_N': 'd', 'CHANNEL_SKEW_N': 'd', 'MARKER2_SKEW_N': 'd', 'DIGITAL_HIGH_N': 'd', 'DIGITAL_OFFSET_N': 'd', 'PHASE_DELAY_INPUT_METHOD_N': 'h', 'MARKER2_AMPLITUDE_N': 'd', 'MARKER2_OFFSET_N': 'd', 'MARKER1_HIGH_N': 'd', 'DIGITAL_METHOD_N': 'h', 'MARKER1_LOW_N': 'd', 'DELAY_IN_TIME_N': 'd', 'ANALOG_OFFSET_N': 'd', 'PHASE_N': 'd', 'DELAY_IN_POINTS_N': 'd', 'ANALOG_AMPLITUDE_N': 'd'}</em><a class="headerlink" href="#qcodes.instrument_drivers.tektronix.AWG5014.Tektronix_AWG5014.AWG_FILE_FORMAT_CHANNEL" title="Permalink to this definition"></a></dt>
<code class="descname">AWG_FILE_FORMAT_CHANNEL</code><em class="property"> = {'CHANNEL_STATE_N': 'h', 'DIGITAL_METHOD_N': 'h', 'MARKER1_HIGH_N': 'd', 'DIGITAL_OFFSET_N': 'd', 'ANALOG_DIRECT_OUTPUT_N': 'h', 'PHASE_N': 'd', 'MARKER1_AMPLITUDE_N': 'd', 'MARKER1_OFFSET_N': 'd', 'DIGITAL_AMPLITUDE_N': 'd', 'MARKER2_AMPLITUDE_N': 'd', 'DIGITAL_LOW_N': 'd', 'ANALOG_HIGH_N': 'd', 'MARKER1_SKEW_N': 'd', 'EXTERNAL_ADD_N': 'h', 'MARKER2_METHOD_N': 'h', 'ANALOG_AMPLITUDE_N': 'd', 'MARKER2_OFFSET_N': 'd', 'ANALOG_LOW_N': 'd', 'ANALOG_FILTER_N': 'h', 'OUTPUT_WAVEFORM_NAME_N': 's', 'MARKER2_HIGH_N': 'd', 'CHANNEL_SKEW_N': 'd', 'MARKER2_SKEW_N': 'd', 'ANALOG_METHOD_N': 'h', 'DELAY_IN_POINTS_N': 'd', 'DELAY_IN_TIME_N': 'd', 'MARKER1_LOW_N': 'd', 'PHASE_DELAY_INPUT_METHOD_N': 'h', 'DC_OUTPUT_LEVEL_N': 'd', 'MARKER2_LOW_N': 'd', 'ANALOG_OFFSET_N': 'd', 'MARKER1_METHOD_N': 'h', 'DIGITAL_HIGH_N': 'd'}</em><a class="headerlink" href="#qcodes.instrument_drivers.tektronix.AWG5014.Tektronix_AWG5014.AWG_FILE_FORMAT_CHANNEL" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="qcodes.instrument_drivers.tektronix.AWG5014.Tektronix_AWG5014.AWG_FILE_FORMAT_HEAD">
<code class="descname">AWG_FILE_FORMAT_HEAD</code><em class="property"> = {'TRIGGER_INPUT_SLOPE': 'h', 'INTERLEAVE_ADJ_AMPLITUDE': 'd', 'CLOCK_SOURCE': 'h', 'JUMP_TIMING': 'h', 'INTERNAL_TRIGGER_RATE': 'd', 'REPETITION_RATE': 'd', 'EVENT_INPUT_THRESHOLD': 'd', 'TRIGGER_INPUT_IMPEDANCE': 'h', 'EXTERNAL_REFERENCE_TYPE': 'h', 'HOLD_REPETITION_RATE': 'h', 'EVENT_INPUT_POLARITY': 'h', 'WAIT_VALUE': 'h', 'RUN_MODE': 'h', 'REFERENCE_MULTIPLIER_RATE': 'h', 'DIVIDER_RATE': 'h', 'INTERLEAVE_ADJ_PHASE': 'd', 'REFERENCE_SOURCE': 'h', 'INTERLEAVE': 'h', 'COUPLING': 'h', 'RUN_STATE': 'h', 'EVENT_INPUT_IMPEDANCE': 'h', 'ZEROING': 'h', 'TRIGGER_INPUT_THRESHOLD': 'd', 'REFERENCE_CLOCK_FREQUENCY_SELECTION': 'h', 'TRIGGER_SOURCE': 'h', 'SAMPLING_RATE': 'd', 'TRIGGER_INPUT_POLARITY': 'h'}</em><a class="headerlink" href="#qcodes.instrument_drivers.tektronix.AWG5014.Tektronix_AWG5014.AWG_FILE_FORMAT_HEAD" title="Permalink to this definition"></a></dt>
<code class="descname">AWG_FILE_FORMAT_HEAD</code><em class="property"> = {'SAMPLING_RATE': 'd', 'HOLD_REPETITION_RATE': 'h', 'INTERNAL_TRIGGER_RATE': 'd', 'CLOCK_SOURCE': 'h', 'TRIGGER_INPUT_IMPEDANCE': 'h', 'TRIGGER_INPUT_POLARITY': 'h', 'EVENT_INPUT_POLARITY': 'h', 'TRIGGER_INPUT_SLOPE': 'h', 'INTERLEAVE_ADJ_AMPLITUDE': 'd', 'JUMP_TIMING': 'h', 'ZEROING': 'h', 'EXTERNAL_REFERENCE_TYPE': 'h', 'TRIGGER_SOURCE': 'h', 'RUN_STATE': 'h', 'REFERENCE_CLOCK_FREQUENCY_SELECTION': 'h', 'RUN_MODE': 'h', 'REPETITION_RATE': 'd', 'INTERLEAVE': 'h', 'TRIGGER_INPUT_THRESHOLD': 'd', 'REFERENCE_MULTIPLIER_RATE': 'h', 'WAIT_VALUE': 'h', 'EVENT_INPUT_THRESHOLD': 'd', 'EVENT_INPUT_IMPEDANCE': 'h', 'INTERLEAVE_ADJ_PHASE': 'd', 'COUPLING': 'h', 'DIVIDER_RATE': 'h', 'REFERENCE_SOURCE': 'h'}</em><a class="headerlink" href="#qcodes.instrument_drivers.tektronix.AWG5014.Tektronix_AWG5014.AWG_FILE_FORMAT_HEAD" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

<dl class="method">
Expand Down
4 changes: 2 additions & 2 deletions py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ <h1>Python Module Index</h1>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="api/generated/qcodes.instrument_drivers.keysight.html#module-qcodes.instrument_drivers.keysight"><code class="xref">qcodes.instrument_drivers.keysight</code></a></td><td>
<a href="api/generated/qcodes.instrument_drivers.Keysight.html#module-qcodes.instrument_drivers.Keysight"><code class="xref">qcodes.instrument_drivers.Keysight</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="api/generated/qcodes.instrument_drivers.Keysight.html#module-qcodes.instrument_drivers.Keysight"><code class="xref">qcodes.instrument_drivers.Keysight</code></a></td><td>
<a href="api/generated/qcodes.instrument_drivers.keysight.html#module-qcodes.instrument_drivers.keysight"><code class="xref">qcodes.instrument_drivers.keysight</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
Expand Down

0 comments on commit d415be8

Please sign in to comment.