Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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}]')