Skip to content

Commit 85c9f94

Browse files
author
Documentation Bot
committed
Generated gh-pages for commit 3d49344
Merge: f7b173f e9e13cf Author: Mikhail Astafev <[email protected]> Merge pull request #807 from johnhornibrook/driver-n5245a
1 parent b917bae commit 85c9f94

File tree

75 files changed

+2318
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2318
-220
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".class": "MypyFile", "_fullname": "qcodes.instrument_drivers.Keysight.N5230C", "_name": null, "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "N5230C": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["qcodes.instrument_drivers.Keysight.N52xx.PNABase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "qcodes.instrument_drivers.Keysight.N5230C.N5230C", "name": "N5230C", "type_vars": []}, "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5230C.N5230C", "metaclass_type": null, "metadata": {}, "module_name": "qcodes.instrument_drivers.Keysight.N5230C", "mro": ["qcodes.instrument_drivers.Keysight.N5230C.N5230C", "qcodes.instrument_drivers.Keysight.N52xx.PNABase", "qcodes.instrument.visa.VisaInstrument", "qcodes.instrument.base.Instrument", "qcodes.instrument.base.InstrumentBase", "qcodes.utils.metadata.Metadatable", "qcodes.utils.helpers.DelegateAttributes", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 4], "arg_names": ["self", "name", "address", "kwargs"], "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5230C.N5230C.__init__", "name": "__init__", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "N52xx": {".class": "SymbolTableNode", "cross_ref": "qcodes.instrument_drivers.Keysight.N52xx", "kind": "ModuleRef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5230C.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5230C.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5230C.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5230C.__package__", "name": "__package__", "type": "builtins.str"}}}, "path": "qcodes/instrument_drivers/Keysight/N5230C.py"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"child_modules": [], "data_mtime": 1532681697, "dep_lines": [1, 1, 1, 1, 1], "dep_prios": [20, 10, 5, 30, 30], "dependencies": ["qcodes.instrument_drivers.Keysight", "qcodes.instrument_drivers.Keysight.N52xx", "builtins", "abc", "typing"], "deps_mtime": null, "hash": "c11aee6d868433e976d124915b21efdf", "id": "qcodes.instrument_drivers.Keysight.N5230C", "ignore_all": false, "interface_hash": "8fe195c69135785b6fedfdd0c87898d7", "mtime": 1532681378, "options": {"always_false": [], "always_true": [], "bazel": false, "check_untyped_defs": false, "disallow_any_decorated": false, "disallow_any_explicit": false, "disallow_any_expr": false, "disallow_any_generics": false, "disallow_any_unimported": false, "disallow_subclassing_any": false, "disallow_untyped_calls": false, "disallow_untyped_decorators": true, "disallow_untyped_defs": false, "follow_imports": "normal", "follow_imports_for_stubs": false, "ignore_errors": false, "ignore_missing_imports": true, "local_partial_types": false, "no_implicit_optional": false, "platform": "linux", "quick_and_dirty": false, "show_none_errors": true, "strict_boolean": false, "strict_optional": false, "strict_optional_whitelist": null, "warn_no_return": true, "warn_return_any": false, "warn_unused_ignores": true}, "path": "/home/travis/build/QCoDeS/Qcodes/qcodes/instrument_drivers/Keysight/N5230C.py", "size": 321, "suppressed": [], "version_id": "0.620"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".class": "MypyFile", "_fullname": "qcodes.instrument_drivers.Keysight.N5245A", "_name": null, "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "N5245A": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["qcodes.instrument_drivers.Keysight.N52xx.PNAxBase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "qcodes.instrument_drivers.Keysight.N5245A.N5245A", "name": "N5245A", "type_vars": []}, "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5245A.N5245A", "metaclass_type": null, "metadata": {}, "module_name": "qcodes.instrument_drivers.Keysight.N5245A", "mro": ["qcodes.instrument_drivers.Keysight.N5245A.N5245A", "qcodes.instrument_drivers.Keysight.N52xx.PNAxBase", "qcodes.instrument_drivers.Keysight.N52xx.PNABase", "qcodes.instrument.visa.VisaInstrument", "qcodes.instrument.base.Instrument", "qcodes.instrument.base.InstrumentBase", "qcodes.utils.metadata.Metadatable", "qcodes.utils.helpers.DelegateAttributes", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 4], "arg_names": ["self", "name", "address", "kwargs"], "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5245A.N5245A.__init__", "name": "__init__", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "N52xx": {".class": "SymbolTableNode", "cross_ref": "qcodes.instrument_drivers.Keysight.N52xx", "kind": "ModuleRef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5245A.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5245A.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5245A.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "qcodes.instrument_drivers.Keysight.N5245A.__package__", "name": "__package__", "type": "builtins.str"}}}, "path": "qcodes/instrument_drivers/Keysight/N5245A.py"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"child_modules": [], "data_mtime": 1532681697, "dep_lines": [1, 1, 1, 1, 1], "dep_prios": [20, 10, 5, 30, 30], "dependencies": ["qcodes.instrument_drivers.Keysight", "qcodes.instrument_drivers.Keysight.N52xx", "builtins", "abc", "typing"], "deps_mtime": null, "hash": "1aba90c5bab7d0fb4a52ead4e1534601", "id": "qcodes.instrument_drivers.Keysight.N5245A", "ignore_all": false, "interface_hash": "782e87f1cffa452ae3879cd8ab1b0840", "mtime": 1532681378, "options": {"always_false": [], "always_true": [], "bazel": false, "check_untyped_defs": false, "disallow_any_decorated": false, "disallow_any_explicit": false, "disallow_any_expr": false, "disallow_any_generics": false, "disallow_any_unimported": false, "disallow_subclassing_any": false, "disallow_untyped_calls": false, "disallow_untyped_decorators": true, "disallow_untyped_defs": false, "follow_imports": "normal", "follow_imports_for_stubs": false, "ignore_errors": false, "ignore_missing_imports": true, "local_partial_types": false, "no_implicit_optional": false, "platform": "linux", "quick_and_dirty": false, "show_none_errors": true, "strict_boolean": false, "strict_optional": false, "strict_optional_whitelist": null, "warn_no_return": true, "warn_return_any": false, "warn_unused_ignores": true}, "path": "/home/travis/build/QCoDeS/Qcodes/qcodes/instrument_drivers/Keysight/N5245A.py", "size": 510, "suppressed": [], "version_id": "0.620"}

.mypy_cache/3.6/qcodes/instrument_drivers/Keysight/N52xx.data.json

+1
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"child_modules": [], "data_mtime": 1532681696, "dep_lines": [2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "dep_prios": [5, 5, 5, 10, 10, 5, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 10], "dependencies": ["qcodes", "qcodes.utils.validators", "typing", "time", "re", "builtins", "abc", "enum", "qcodes.instrument", "qcodes.instrument.base", "qcodes.instrument.channel", "qcodes.instrument.parameter", "qcodes.instrument.visa", "qcodes.utils", "qcodes.utils.helpers", "qcodes.utils.metadata"], "deps_mtime": null, "hash": "64114f6e465f485cf279fd87343c9eda", "id": "qcodes.instrument_drivers.Keysight.N52xx", "ignore_all": false, "interface_hash": "b4c881b243feb1c3ff5e30db8a620d3b", "mtime": 1532681378, "options": {"always_false": [], "always_true": [], "bazel": false, "check_untyped_defs": false, "disallow_any_decorated": false, "disallow_any_explicit": false, "disallow_any_expr": false, "disallow_any_generics": false, "disallow_any_unimported": false, "disallow_subclassing_any": false, "disallow_untyped_calls": false, "disallow_untyped_decorators": true, "disallow_untyped_defs": false, "follow_imports": "normal", "follow_imports_for_stubs": false, "ignore_errors": false, "ignore_missing_imports": true, "local_partial_types": false, "no_implicit_optional": false, "platform": "linux", "quick_and_dirty": false, "show_none_errors": true, "strict_boolean": false, "strict_optional": false, "strict_optional_whitelist": null, "warn_no_return": true, "warn_return_any": false, "warn_unused_ignores": true}, "path": "/home/travis/build/QCoDeS/Qcodes/qcodes/instrument_drivers/Keysight/N52xx.py", "size": 17419, "suppressed": ["numpy"], "version_id": "0.620"}
-218 Bytes
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

_modules/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ <h1>All modules for which code is available</h1>
190190
<li><a href="qcodes/instrument_drivers/Keysight/M3201A.html">qcodes.instrument_drivers.Keysight.M3201A</a></li>
191191
<li><a href="qcodes/instrument_drivers/Keysight/M3300A.html">qcodes.instrument_drivers.Keysight.M3300A</a></li>
192192
<li><a href="qcodes/instrument_drivers/Keysight/N51x1.html">qcodes.instrument_drivers.Keysight.N51x1</a></li>
193+
<li><a href="qcodes/instrument_drivers/Keysight/N5230C.html">qcodes.instrument_drivers.Keysight.N5230C</a></li>
194+
<li><a href="qcodes/instrument_drivers/Keysight/N5245A.html">qcodes.instrument_drivers.Keysight.N5245A</a></li>
195+
<li><a href="qcodes/instrument_drivers/Keysight/N52xx.html">qcodes.instrument_drivers.Keysight.N52xx</a></li>
193196
<li><a href="qcodes/instrument_drivers/Lakeshore/Model_336.html">qcodes.instrument_drivers.Lakeshore.Model_336</a></li>
194197
<li><a href="qcodes/instrument_drivers/Minicircuits/Base_SPDT.html">qcodes.instrument_drivers.Minicircuits.Base_SPDT</a></li>
195198
<li><a href="qcodes/instrument_drivers/Minicircuits/RC_SP4T.html">qcodes.instrument_drivers.Minicircuits.RC_SP4T</a></li>

_modules/qcodes/instrument/channel.html

+9
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,15 @@ <h1>Source code for qcodes.instrument.channel</h1><div class="highlight"><pre>
436436
<span class="bp">self</span><span class="o">.</span><span class="n">_channels</span> <span class="o">=</span> <span class="n">cast</span><span class="p">(</span><span class="n">List</span><span class="p">[</span><span class="n">InstrumentChannel</span><span class="p">],</span> <span class="bp">self</span><span class="o">.</span><span class="n">_channels</span><span class="p">)</span>
437437
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_channels</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">obj</span><span class="p">)</span>
438438

439+
<span class="k">def</span> <span class="nf">clear</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
440+
<span class="sd">&quot;&quot;&quot;</span>
441+
<span class="sd"> Clear all items from the channel list.</span>
442+
<span class="sd"> &quot;&quot;&quot;</span>
443+
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_locked</span><span class="p">:</span>
444+
<span class="k">raise</span> <span class="ne">AttributeError</span><span class="p">(</span><span class="s2">&quot;Cannot clear a locked channel list&quot;</span><span class="p">)</span>
445+
<span class="bp">self</span><span class="o">.</span><span class="n">_channels</span><span class="o">.</span><span class="n">clear</span><span class="p">()</span>
446+
<span class="bp">self</span><span class="o">.</span><span class="n">_channel_mapping</span><span class="o">.</span><span class="n">clear</span><span class="p">()</span>
447+
439448
<span class="k">def</span> <span class="nf">remove</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">:</span> <span class="n">InstrumentChannel</span><span class="p">):</span>
440449
<span class="sd">&quot;&quot;&quot;</span>
441450
<span class="sd"> Removes obj from channellist if not locked.</span>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,223 @@
1+
2+
3+
<!DOCTYPE html>
4+
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
6+
<head>
7+
<meta charset="utf-8">
8+
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
10+
11+
<title>qcodes.instrument_drivers.Keysight.N5230C &mdash; QCoDeS 0.1.11 documentation</title>
12+
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
<link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
28+
<link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
29+
<link rel="index" title="Index" href="../../../../genindex.html" />
30+
<link rel="search" title="Search" href="../../../../search.html" />
31+
32+
33+
<script src="../../../../_static/js/modernizr.min.js"></script>
34+
35+
</head>
36+
37+
<body class="wy-body-for-nav">
38+
39+
40+
<div class="wy-grid-for-nav">
41+
42+
43+
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
44+
<div class="wy-side-scroll">
45+
<div class="wy-side-nav-search">
46+
47+
48+
49+
<a href="../../../../index.html" class="icon icon-home"> QCoDeS
50+
51+
52+
53+
</a>
54+
55+
56+
57+
58+
<div class="version">
59+
0.1.11
60+
</div>
61+
62+
63+
64+
65+
<div role="search">
66+
<form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
67+
<input type="text" name="q" placeholder="Search docs" />
68+
<input type="hidden" name="check_keywords" value="yes" />
69+
<input type="hidden" name="area" value="default" />
70+
</form>
71+
</div>
72+
73+
74+
</div>
75+
76+
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
77+
78+
79+
80+
81+
82+
83+
<ul>
84+
<li class="toctree-l1"><a class="reference internal" href="../../../../start/index.html">Getting Started</a></li>
85+
<li class="toctree-l1"><a class="reference internal" href="../../../../help.html">Get Help</a></li>
86+
<li class="toctree-l1"><a class="reference internal" href="../../../../user/index.html">User Guide</a></li>
87+
<li class="toctree-l1"><a class="reference internal" href="../../../../community/index.html">Community Guide</a></li>
88+
<li class="toctree-l1"><a class="reference internal" href="../../../../dataset/index.html">DataSet</a></li>
89+
<li class="toctree-l1"><a class="reference internal" href="../../../../api/index.html">Classes and Functions</a></li>
90+
<li class="toctree-l1"><a class="reference internal" href="../../../../api/generated/qcodes.instrument_drivers.html">qcodes.instrument_drivers package</a></li>
91+
<li class="toctree-l1"><a class="reference internal" href="../../../../roadmap.html">Qcodes project plan</a></li>
92+
<li class="toctree-l1"><a class="reference internal" href="../../../../changes/index.html">Changelogs</a></li>
93+
<li class="toctree-l1"><a class="reference internal" href="../../../../examples/index.html">Examples of using QCoDeS</a></li>
94+
</ul>
95+
96+
97+
98+
</div>
99+
</div>
100+
</nav>
101+
102+
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
103+
104+
105+
<nav class="wy-nav-top" aria-label="top navigation">
106+
107+
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
108+
<a href="../../../../index.html">QCoDeS</a>
109+
110+
</nav>
111+
112+
113+
<div class="wy-nav-content">
114+
115+
<div class="rst-content">
116+
117+
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
<div role="navigation" aria-label="breadcrumbs navigation">
134+
135+
<ul class="wy-breadcrumbs">
136+
137+
<li><a href="../../../../index.html">Docs</a> &raquo;</li>
138+
139+
<li><a href="../../../index.html">Module code</a> &raquo;</li>
140+
141+
<li>qcodes.instrument_drivers.Keysight.N5230C</li>
142+
143+
144+
<li class="wy-breadcrumbs-aside">
145+
146+
</li>
147+
148+
</ul>
149+
150+
151+
<hr/>
152+
</div>
153+
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
154+
<div itemprop="articleBody">
155+
156+
<h1>Source code for qcodes.instrument_drivers.Keysight.N5230C</h1><div class="highlight"><pre>
157+
<span></span><span class="kn">from</span> <span class="nn">.</span> <span class="k">import</span> <span class="n">N52xx</span>
158+
159+
<div class="viewcode-block" id="N5230C"><a class="viewcode-back" href="../../../../api/generated/qcodes.instrument_drivers.Keysight.html#qcodes.instrument_drivers.Keysight.N5230C.N5230C">[docs]</a><span class="k">class</span> <span class="nc">N5230C</span><span class="p">(</span><span class="n">N52xx</span><span class="o">.</span><span class="n">PNABase</span><span class="p">):</span>
160+
<span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">name</span><span class="p">,</span> <span class="n">address</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
161+
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">address</span><span class="p">,</span>
162+
<span class="n">min_freq</span><span class="o">=</span><span class="mf">300e3</span><span class="p">,</span> <span class="n">max_freq</span><span class="o">=</span><span class="mf">13.5e9</span><span class="p">,</span>
163+
<span class="n">min_power</span><span class="o">=-</span><span class="mi">90</span><span class="p">,</span> <span class="n">max_power</span><span class="o">=</span><span class="mi">13</span><span class="p">,</span>
164+
<span class="n">nports</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
165+
<span class="o">**</span><span class="n">kwargs</span><span class="p">)</span></div>
166+
</pre></div>
167+
168+
</div>
169+
170+
</div>
171+
<footer>
172+
173+
174+
<hr/>
175+
176+
<div role="contentinfo">
177+
<p>
178+
179+
</p>
180+
</div>
181+
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
182+
183+
</footer>
184+
185+
</div>
186+
</div>
187+
188+
</section>
189+
190+
</div>
191+
192+
193+
194+
195+
196+
<script type="text/javascript">
197+
var DOCUMENTATION_OPTIONS = {
198+
URL_ROOT:'../../../../',
199+
VERSION:'0.1.11',
200+
LANGUAGE:'None',
201+
COLLAPSE_INDEX:false,
202+
FILE_SUFFIX:'.html',
203+
HAS_SOURCE: true,
204+
SOURCELINK_SUFFIX: '.txt'
205+
};
206+
</script>
207+
<script type="text/javascript" src="../../../../_static/jquery.js"></script>
208+
<script type="text/javascript" src="../../../../_static/underscore.js"></script>
209+
<script type="text/javascript" src="../../../../_static/doctools.js"></script>
210+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
211+
212+
213+
214+
<script type="text/javascript" src="../../../../_static/js/theme.js"></script>
215+
216+
<script type="text/javascript">
217+
jQuery(function () {
218+
SphinxRtdTheme.Navigation.enable(true);
219+
});
220+
</script>
221+
222+
</body>
223+
</html>

0 commit comments

Comments
 (0)