Skip to content

Commit

Permalink
docstring modif in nw.spot, regenerate api accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
audrey01mit committed May 14, 2024
1 parent e12264a commit 98004b9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions docs/user/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Cells

.. automodule:: qnngds.cells
:members:
:exclude-members: alignment, etch_test, nanowires, ntron, resolution_test, snspd, vdp
:exclude-members: alignment, etch_test, nanowires, ntron, resolution_test, snspd, snspd_ntron, vdp
:undoc-members:
:show-inheritance:

Expand Down Expand Up @@ -41,6 +41,11 @@ Cells
.. image:: images/cells/snspd.png
:alt: snspd.png

.. autofunction:: snspd_ntron

.. image:: images/cells/snspd_ntron.png
:alt: snspd_ntron.png

.. autofunction:: vdp

.. image:: images/cells/vdp.png
Expand All @@ -52,10 +57,15 @@ Circuits

.. automodule:: qnngds.circuits
:members:
:exclude-members:
:exclude-members: snspd_ntron
:undoc-members:
:show-inheritance:

.. autofunction:: snspd_ntron

.. image:: images/circuits/snspd_ntron.png
:alt: snspd_ntron.png

.. _Design:
Design
------
Expand Down
4 changes: 2 additions & 2 deletions src/qnngds/devices/nanowire.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def spot(
layer: int = dflt.layers["device"],
num_pts: int = 100,
) -> Device:
"""Creates a single wire, with the same appearance as an NTRON but without
the gate.
"""Creates a single wire, made of two optimal steps from channel_w to
source_w.
Args:
channel_w (int or float): The width of the channel (at the hot-spot location).
Expand Down

0 comments on commit 98004b9

Please sign in to comment.