.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/lwdfallpass.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_lwdfallpass.py: ================================ LWDF first-order allpass section ================================ This has different latency offsets for the different inputs/outputs. .. GENERATED FROM PYTHON SOURCE LINES 9-27 .. image-sg:: /examples/images/sphx_glr_lwdfallpass_001.png :alt: lwdfallpass :srcset: /examples/images/sphx_glr_lwdfallpass_001.png :class: sphx-glr-single-img .. code-block:: Python from b_asic.core_operations import SymmetricTwoportAdaptor from b_asic.schedule import Schedule from b_asic.signal_flow_graph import SFG from b_asic.special_operations import Delay, Input, Output in0 = Input() d0 = Delay() adaptor0 = SymmetricTwoportAdaptor( 0.5, in0, d0, latency_offsets={"in0": 0, "in1": 1, "out0": 5, "out1": 6} ) d0 <<= adaptor0.output(1) out0 = Output(adaptor0.output(0)) adaptor0.execution_time = 2 sfg = SFG([in0], [out0]) schedule = Schedule(sfg) schedule.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.108 seconds) .. _sphx_glr_download_examples_lwdfallpass.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: lwdfallpass.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: lwdfallpass.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: lwdfallpass.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_