descriptionorg-babel functions for spice evaluation.
ownernumbchild@gmail.com
last changeWed, 30 Aug 2023 01:28:21 +0000 (30 09:28 +0800)
content tags
add:
README
* History

ob-spice is now being maintained at https://repo.or.cz/ob-spice.

This package was originally written by [[https://github.com/tiagoweber][Tiago Weber]].
You can find more (potentially outdated) information by him about
this package [[http://tiagoweber.github.io/blog/entry1.html][here]]
and [[http://tiagoweber.github.io/blog/entry4.html][here]].

* Usage

** Example

#+BEGIN_SRC org
,#+BEGIN_SRC spice  :results drawer :exports both :var file="data/images/spice-example"
,*Virtual Ground Test: opamp gain = 1000
vin in 0 dc 0V sin(0 0.1 100Hz)
r1 in inn 10k
r2 inn out 10k
EOpamp out 0 0 inn 1000
.tran 0.1ms 0.05s
.print tran v(in)
.meas tran vtest find v(in) at=0.04e-3
.end
.control
run
set gnuplot_terminal=png
gnuplot $file v(in) v(out) v(inn)
.endc
,#+END_SRC

,#+RESULTS:
:RESULTS:
,#+ATTR_HTML: :width 600px
 [[file:./data/images/spice-example.png]]
:END:

#+END_SRC
shortlog
2023-08-30 stardivinerFix README History declarationmaster
2022-10-30 stardivinerFix org-babel parameters getting API
2022-05-29 stardivinerFix compatible org-core.el API function `org-babel...
2022-02-10 stardivinerUpdate library homepage
2021-05-27 stardivinerFix typo spelling
2021-05-27 stardivinerupdate http: to https:
2018-02-11 stardivinerI put it in Org-mode contrib/ now.
2017-08-02 stardivineradd license GPL 3
2016-08-16 stardivinerrefactor source code
2016-08-15 stardivinerupdate package library headers
2016-08-15 stardivinerformat code
2016-08-15 stardivineradd README.
2016-08-15 stardivinersecond version from author
2016-08-15 stardivinerfirst version from author
heads
7 months ago master