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 for Programming
 Forum for Python
 Performing peak analysis with external python
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

alistairredpath15

Australia
1 Posts

Posted - 04/19/2024 :  12:04:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2024
Operating System: Windows

Hi, I'm using the originpro package to interact with Origin as an external automation. I've successfully created a worksheet from my .csv data, used the NLFit.fit() method to perform a polynomial fit and have saved the result to a project.

However, I need to perform a Peak Analysis in the fashion of (in the main app) Analysis – Peaks and Baseline – Peak Analyzer. Is there a way to do this externally or would I have to use LabTalk or in-app python in stead?

Thanks in advance!

jasmine_chan

China
Posts

Posted - 05/10/2024 :  05:57:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use LabTalk call pa X-Fuctioin:
1. open Peak Analyzer in Origin and save your settings to MyPA theme.
2. use originpro package to call lt_exec("pa iy:=(1,2) smode:=1 theme:=MyPA")
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