ocesou / hooke

Automatically exported from code.google.com/p/hooke
GNU Lesser General Public License v3.0
0 stars 0 forks source link

txt multiply for 10^-9 #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Purpose of code changes on this branch:
I was using the txt command to export some curves but in my case the y values
are in volts (I am using an home made driver).  So the point is, why we
multiply for 10^-9 in the do_txt? For force distance curves it is quite
useful but this is an "ad-hoc" solution that may create many other problem
to other type of curves.
There is also another let's say "problem".  Imaging that you have 2 window
(like in the fft) but you want to export all the data in different columns
in the same output file.  At the moment this is not possible, you have to
export the first window and after the second and you will have 2 files for
the same curve.
Wouldn't be better to have an option like "export_all_windows" ?

Original issue reported on code.google.com by fabrizio...@gmail.com on 10 Mar 2010 at 3:05

GoogleCodeExporter commented 8 years ago
Agree completely with first part. We shouldn't multiply -or we should put a
multiplier in the config.

Agree also with the second.

Patches for both things are welcome :)

Original comment by devicera...@gmail.com on 28 Apr 2010 at 3:54

GoogleCodeExporter commented 8 years ago

Original comment by fabrizio...@gmail.com on 14 Dec 2010 at 7:31