| plot(list) |
|
| Data
returned by
read_block() and multi_read_block() can be ploted using Tkinter
graphics. The plot() routine handles multiple traces. |
res =
p.multi_read_block(200,20,1) p.plot(res) |
| line(list) |
|
| Plots
a line
using the list of coordinates |
xy =
[(0,0), (10,10)] p.line(xy) |
| remove_lines() |
|
| removes
all
lines from the present window. |
p.remove_lines() |
| save_data(list,
filename = 'plot.dat') |
|
| Data
returned by read_block() and multi_read_block() can be saved to a file.
The plot() routine handles multiple traces. If you do not specify the
file name 'plot.dat' will be used. |
res =
p.multi_read_block(200,20,1) p.save_data(res, 'mydata.txt') |
| float
set_time() |
|
| The
PC Time
stamp is stored to ATmega16 and the TC0 interrupts are configured to
increment it every second. Returns the value of time stamp set. This is
usefull only if Phoenix is powered from battery and used for continuous
recording of ADC inputs. |
print
p.set_time() |
| float
get_time() |
|
| Get
the current
time stamp from the micro controller. |
print
p.get_time() |
| None
start_hist(None) |
|
| Enables
the
CMP0 interrupt used by the radiation detection hardware accessory. |
p.start_hist() |
| None
clear_hist(None) |
|
| Clears
the RAM
used for storing histogram. Upper 256 bytes of the data buffer are used
for this. |
print
p.clear_hist() |
| List
read_hist(None) |
|
| Returns
the
histogram data as a list of two element tuples, same format as
read_block(). |
v = p.read_hist() p.plot(v) |
| None
init_LCD_display() |
|
| Initializes
the
plugin LCD display. This is mainly for trouble shooting. |
p.init_LCD_display() |