| T O P I C R E V I E W |
| icb3 |
Posted - 06/08/2007 : 4:37:13 PM Origin Version (Select Help-->About Origin): 7.0 Operating System: Win 2000
None of the automatic baseline finders consistently work for data sets I typically plot. What does work for me is if I use statistics to find the mean of the first 200 data points and then subtract that value...
This seems like it should be an easy thing to automate, but I have only limited C++ programming experience and none with OriginC or LabScript.
Any suggestions would be greatly appreciated. Thanks, Isaac |
| 2 L A T E S T R E P L I E S (Newest First) |
| icb3 |
Posted - 06/09/2007 : 2:42:11 PM Thanks Mike - works great!
I think I need to sit down and spend some quality time with the help file. |
| Mike Buess |
Posted - 06/08/2007 : 5:32:44 PM Hi Isaac,
Here's a simple LabTalk script that will do what you want. You can assign it to the Custom Routine button as explained here and run it on the active dataplot in a graph or the highlighted worksheet column.
get %C -e npt; // how many points in active curve? set %C -e 200; // set end to 200 pts sum(%C); // stats on curve set %C -e npt; // reset end %C -= sum.mean; // subtract mean
Mike Buess Origin WebRing Member |