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
 All Forums
 Origin Forum for Programming
 Forum for Python
 Performing peak analysis with external python

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
alistairredpath15 Posted - 04/19/2024 : 12:04:20 AM
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!
1   L A T E S T    R E P L I E S    (Newest First)
jasmine_chan Posted - 05/10/2024 : 05:57:41 AM
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")

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000