1 oscopy -- An interactive program to view electrical results
5 This is oscopy, a kind of oscilloscope in python, to view 2D electrical
6 simulation or measurement results.
7 It is designed to easily add new input data file formats and new types of plots.
9 * Post-processing: math expressions, fft, diffs
10 * View, examine: multiple windows, cursors
12 * Data export: gnucap, pictures
14 * D-Bus support: update recursively signals
15 * Run netlister and simulator
17 Support for arithmetic with signals is implemented.
19 In each plot window, horizontal and vertical cursors can be toggled by using
20 keys '1', '2', '3' and '4'.
22 Support for drag'n drop from signal window to graphs is implemented.
26 The source can be downloaded from repo.cz:
27 http://repo.or.cz/w/oscopy.git
30 $ git clone git://repo.or.cz/oscopy.git
34 Oscopy shall be installed on the system using autotools.
36 $ ./autogen.sh && ./configure && make
43 Documentation can be built by passing the option '--with-doc' to the configure
44 script. It will build the user manual (ioscopy-manual.pdf) and the oscopy API
45 manual (oscopy-api.pdf). You will need LaTeX and graphviz to be installed on
50 To install oscopy on a system:
51 # ./autogen.sh && ./configure && make install
52 Note that you might need to update your PYTHONPATH, for example if you install
53 it in ${HOME}/geda, to launch oscopy you might need the following line:
54 PYTHONPATH=${HOME}/geda/lib/python2.X/site-packages:$PYTHONPATH
56 If you want to use gschem integration, you will need to use the same --prefix
57 that you used to install gschem.
61 To run the program, just do ./ioscopy
63 To get any info on available commands, type 'help'.
65 A sample circuit is provided for demonstration purposes.
69 Just do "File>Run Netlister and simulate..." and fill in the window with the
70 commands provided below
71 then in the terminal window:
72 ioscopy> oexec demo.oscopy
74 Using gschem integration:
75 If you want to use gschem integration, add (load-from-path "oscopy.scm") to your
76 gschemrc, and you shoud see the oscopy menu on the next start of gschem. Note
77 that you should have done ./configure --prefix="same prefix as gschem"
78 Then assuming you are in the oscopy directory:
81 * oscopy>Launch oscopy
82 * Follow the previous instructions
83 * Once the script finished to execute, go back to gschem and change the value
84 of a component e.g. the capacitor C.
85 * oscopy>Update oscopy
86 * once netlister and simulator ran, figures should have changes, e.g. figure 3
87 vout should have moved and vo not.
91 oadd SIG [, SIG [, SIG]...]
92 Add a graph to the current figure
94 ocreate [SIG [, SIG [, SIG]...]]
95 Create a new figure, set it as current, add the signals
98 Return the Context object used within ioscopy
101 Delete a graph from the current figure
107 execute commands from file
110 set the scaling factor of the graph (in power of ten)
111 use 'auto' for automatic scaling factor
112 e.g. factor -3, 6 set the scale factor at 1e-3 and 10e6
115 Print the list of figures
117 ofreeze SIG [, SIG [, SIG]...]
118 Do not consider signal for subsequent updates
123 oimport SIG [, SIG [, SIG]...]
124 Import a list of signals into oscopy to handle dependencies during updates
126 oscopy> oread demo/trans.dat
130 oscopy> oupdate #if iRD or vds changed, pwr will be automatically updated
132 oinsert SIG [, SIG [, SIG]...]
133 Insert a list of signals into the current graph
135 olayout horiz|vert|quad
136 Define the layout of the current figure
139 Set the type of the current graph of the current figure
143 orange [x|y min max]|[xmin xmax ymin ymax]
144 Set the axis range of the current graph of the current figure
149 orefresh FIG#|on|off|current|all
150 Force/toggle autorefresh of current/#/all figures on update
152 oremove SIG [, SIG [, SIG]...]
153 Delete a list of signals into from current graph
155 oscale [lin|logx|logy|loglog]
159 Select the current figure and the current graph
164 ounfreeze SIG [, SIG [, SIG]...]
165 Consider signal for subsequent updates
168 Set the unit to be displayed on graph axis
173 owrite format [(OPTIONS)] FILE SIG [, SIG [, SIG]...]
174 Write signals to file
176 numpy.ufuncs and numpy.fft functions are supported with their direct name.