Skip to content

Commit

Permalink
Generated gh-pages for commit 3d49344
Browse files Browse the repository at this point in the history
Merge: f7b173f e9e13cf
Author: Mikhail Astafev <[email protected]>

    Merge pull request #807 from johnhornibrook/driver-n5245a
  • Loading branch information
Documentation Bot committed Jul 27, 2018
1 parent b917bae commit 85c9f94
Show file tree
Hide file tree
Showing 75 changed files with 2,318 additions and 220 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +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 number Diff line number Diff line change
@@ -0,0 +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 number Diff line number Diff line change
@@ -0,0 +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 number Diff line number Diff line change
@@ -0,0 +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"}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +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"}
Binary file modified _images/Implementing_doND_using_the_dataset_10_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/Implementing_doND_using_the_dataset_13_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ <h1>All modules for which code is available</h1>
<li><a href="qcodes/instrument_drivers/Keysight/M3201A.html">qcodes.instrument_drivers.Keysight.M3201A</a></li>
<li><a href="qcodes/instrument_drivers/Keysight/M3300A.html">qcodes.instrument_drivers.Keysight.M3300A</a></li>
<li><a href="qcodes/instrument_drivers/Keysight/N51x1.html">qcodes.instrument_drivers.Keysight.N51x1</a></li>
<li><a href="qcodes/instrument_drivers/Keysight/N5230C.html">qcodes.instrument_drivers.Keysight.N5230C</a></li>
<li><a href="qcodes/instrument_drivers/Keysight/N5245A.html">qcodes.instrument_drivers.Keysight.N5245A</a></li>
<li><a href="qcodes/instrument_drivers/Keysight/N52xx.html">qcodes.instrument_drivers.Keysight.N52xx</a></li>
<li><a href="qcodes/instrument_drivers/Lakeshore/Model_336.html">qcodes.instrument_drivers.Lakeshore.Model_336</a></li>
<li><a href="qcodes/instrument_drivers/Minicircuits/Base_SPDT.html">qcodes.instrument_drivers.Minicircuits.Base_SPDT</a></li>
<li><a href="qcodes/instrument_drivers/Minicircuits/RC_SP4T.html">qcodes.instrument_drivers.Minicircuits.RC_SP4T</a></li>
Expand Down
9 changes: 9 additions & 0 deletions _modules/qcodes/instrument/channel.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,15 @@ <h1>Source code for qcodes.instrument.channel</h1><div class="highlight"><pre>
<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>
<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>

<span class="k">def</span> <span class="nf">clear</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Clear all items from the channel list.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_locked</span><span class="p">:</span>
<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>
<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>
<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>

<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>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Removes obj from channellist if not locked.</span>
Expand Down
223 changes: 223 additions & 0 deletions _modules/qcodes/instrument_drivers/Keysight/N5230C.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>qcodes.instrument_drivers.Keysight.N5230C &mdash; QCoDeS 0.1.11 documentation</title>















<link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="../../../../genindex.html" />
<link rel="search" title="Search" href="../../../../search.html" />


<script src="../../../../_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav">


<div class="wy-grid-for-nav">


<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">



<a href="../../../../index.html" class="icon icon-home"> QCoDeS



</a>




<div class="version">
0.1.11
</div>




<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>


</div>

<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">






<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../start/index.html">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../help.html">Get Help</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../user/index.html">User Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../community/index.html">Community Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../dataset/index.html">DataSet</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/index.html">Classes and Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/generated/qcodes.instrument_drivers.html">qcodes.instrument_drivers package</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../roadmap.html">Qcodes project plan</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../changes/index.html">Changelogs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../../examples/index.html">Examples of using QCoDeS</a></li>
</ul>



</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">


<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../../../index.html">QCoDeS</a>

</nav>


<div class="wy-nav-content">

<div class="rst-content">

















<div role="navigation" aria-label="breadcrumbs navigation">

<ul class="wy-breadcrumbs">

<li><a href="../../../../index.html">Docs</a> &raquo;</li>

<li><a href="../../../index.html">Module code</a> &raquo;</li>

<li>qcodes.instrument_drivers.Keysight.N5230C</li>


<li class="wy-breadcrumbs-aside">

</li>

</ul>


<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<h1>Source code for qcodes.instrument_drivers.Keysight.N5230C</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">.</span> <span class="k">import</span> <span class="n">N52xx</span>

<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>
<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>
<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>
<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>
<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>
<span class="n">nports</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
<span class="o">**</span><span class="n">kwargs</span><span class="p">)</span></div>
</pre></div>

</div>

</div>
<footer>


<hr/>

<div role="contentinfo">
<p>

</p>
</div>
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>.

</footer>

</div>
</div>

</section>

</div>





<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../../../',
VERSION:'0.1.11',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../../../../_static/jquery.js"></script>
<script type="text/javascript" src="../../../../_static/underscore.js"></script>
<script type="text/javascript" src="../../../../_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>



<script type="text/javascript" src="../../../../_static/js/theme.js"></script>

<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
Loading

0 comments on commit 85c9f94

Please sign in to comment.