T O P I C R E V I E W |
tinkusch |
Posted - 12/27/2018 : 12:14:30 PM Origin Ver. and Service Release (Select Help-->About Origin): 2018 Pro German 64 bit SR1 Operating System: WIN 10
I have some questions about the peak analyzer tool (pa) and how to operate with them together with my labtalc scripts. I mainly use the below baseline tool:
pa iy:=APSPROFILE_B theme:=APS_BASELINE smode:=0;
where APSPROFILE_B is just a vector and APS_Baseline is a baseline fitting design using Asymmetric least squares smoothing (ALSS).
1: Is it possible to detect if and when the batch process (smode=1) has stopped? Important for starting other dependent scripts once pa is done.
2: Is it possible to set and read the pa_alsbase fit parameters in command line modus? Is there any other explicit access to these parameters? Would be nice to have for Quality Control documentation.
3: Is it possible to call the subroutines, such as pa_alsbase, separately via command line?
4: Can I copy the pa XFunction and adapt/tailor it to my needs?
looking forward to get some hints. Thanks, Stefan
|
1 L A T E S T R E P L I E S (Newest First) |
AmandaLu |
Posted - 12/28/2018 : 02:24:31 AM Hi,
1. When you run a series of scripts, the later will begin only when the former finishes. If you run pa in a loop and it stops in a loop, the whole scripts will stop and dump error message.
2.3. pa_alsbase and other pa relative X-Function cannot access by LabTalk. Please consider using “Baseline with Asymmetric Least Squares” tool instead:
https://www.originlab.com/fileExchange/details.aspx?fid=170
Download the tool from above and drag-n-drop it to Origin to install. Then you can use “baseline_als” X-Function in your code.
3. You cannot edit pa XF directly. But you can use other X-Function to do the same thing. Please refer to the following tutorial:
https://www.originlab.com/doc/LabTalk/Tutorials/Tutorial-Peak-Analysis?tdsourcetag=s_pcqq_aiomsg
Thanks, Amanda OriginLab Technical Service
|
|
|