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
 Integration with originpro

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
PhipsKX Posted - 09/19/2023 : 06:44:16 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 2023b (64-bit) SR1
Operating System: Windows 11 Pro

Hi forum,

I am relativly new using origin via originpro with python so i might miss some information.

Untill now I cant find out how to use the integation method with originpro. My aim would be to load a number of datapoints and to integrate them automatically in a certain range.
It would be highly practical to have this option, at least for me.

Thanks for any help in advance

1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 09/19/2023 : 2:00:25 PM
Could you try the Python script below:

import originpro as op
f = op.path('e')+r'Samples\Curve Fitting\Sensor01.dat'
wks = op.new_sheet()
wks.from_file(f)
start = 2
end = 10
op.lt_exec(f'integ1 iy:=Col(2)[{start}:{end}]')


James

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