The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 pa peak analyzer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tinkusch

Germany
94 Posts

Posted - 12/27/2018 :  12:14:30 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

AmandaLu

439 Posts

Posted - 12/28/2018 :  02:24:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - AmandaLu on 12/28/2018 03:44:19 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000