mkogg.py: Prefix imports with underscores for a clean namespace
[mw2txt.git] / posts / plotpick.mdwn
1 [[!meta  title="PlotPick program"]]
2 [[!meta  date="2008-10-01 23:55:03"]]
3 While calibrating my photodiodes, some of my surface bumps went out of
4 the linear-response range.  Since I'm not confident in my ability to
5 set boundaries programmatically at the moment, I thought I'd write up
6 a little utility to record clicks on key data points, so I could pick
7 out the “good data”.
8
9 Enter [[plotpick.py]] the raw-data version of [[clickloc]].  Hope you
10 like it :).  I've also written up a simple data generator
11 ([[random-data.py]]), which allows you to try out plotpick::
12
13   $ random-data.py -n 200 | plotpick.py
14
15 [[calibcant]], my modern cantilever calibration suite, [repositions
16 the piezo before every bump][reposition], so out-of-range bumps are no
17 longer an issue.
18
19 [reposition]: http://git.tremily.us/?p=calibcant.git;a=commit;h=77e8244d80306dcea9ab1422cb45630a92494f85
20
21 [[!tag tags/code]]
22 [[!tag tags/linux]]
23 [[!tag tags/programming]]
24 [[!tag tags/python]]
25 [[!tag tags/theory]]