originpro Python Package Release Notes

 

Package Version

Date

Notes/Description

Internal References (JIRA)

Package Version

Date

Notes/Description

Internal References (JIRA)

1.1.6

4-25-2023

Bug Fix: fixed plot_cloneable() failing to update preset graph short name/long name.

ORG-26924 - Getting issue details... STATUS

1.1.6

4-25-2023

Bug Fix: fixed bug of plot.colormap failing to apply colors to a set of grouped plots from palette file.

ORG-25825 - Getting issue details... STATUS

1.1.6

4-25-2023

Bug Fix: fixed “iteritems deprecated” error for pandas 2.0.

ORG-25459 - Getting issue details... STATUS

1.1.6

4-25-2023

Add plot.group property to check if a plot is in group.

plot.group=0 #not in a group plot.group=1 #group head plot.group=2 #group member

ORG-25825 - Getting issue details... STATUS

1.1.6

4-25-2023

Improve function save_fig() to control exported image size by optional parameter ratio (size factor in %). Available for svg and emf. Default is 0.

ORG-26265 - Getting issue details... STATUS

1.1.6

4-25-2023

Improve function image.from_file() to support import image from URL to image window

ORG-26870 - Getting issue details... STATUS

1.1.6

4-25-2023

Add function to MSheet class to support convert image to Matrix:

from_img(img)

ORG-26894 - Getting issue details... STATUS

1.1.6

4-25-2023

Add function to download template.

olab_download(file)

ORG-26897 - Getting issue details... STATUS

1.1.2

9-2-2022

Improve function to_df() to support specifying column short name for head parameter, head='G'

1.1.2

9-2-2022

Add method to Plot to execute LabTalk “Set” command (with argument settings “*args”) for this data plot

1.1.1

5-6-2022

Add function to GPage to copy a graph page as an OLE object or an image into the clipboard

1.1.1

5-6-2022

Add function to evaluate FDF

  • PyOrigin/OriginExt

  • originpro

1.1.1

5-6-2022

Support accessing cell notes

1.1.0

11-18-2021

Support get/set worksheet/matrix tab color

1.1.0

11-18-2021

More on Matrix and Image Access improvement

  1. Improved/added following functions IPage class for image analysis.

  2. Improve to_np2d(frame) and from_np2d(data,frame) to get/set single matrix object/image frame in Matrix Layer/image window.

  3. Support basic Image Window properties:

1.1.0

11-18-2021

Support access to Image window. image.py is added.

  1. Added following functions to originpro.

  2. Added following functions to IPage class.

  3. Added following function to Page class.

  4. Support adding 2D symbol and line plot to Image window.

1.1.0

11-18-2021

Added op.detach() to detach Origin working with interactive python after Python script finished

1.1.0

11-18-2021

Add WSheet.cell(self, row, col) function

1.0.7

7-2-2021

Fixed the issue that after Python scripts finish, Origin instance cannot detach from Python.
For running line by line from Interpreter, need to call exit() explicitly to achieve detachment.

 

Added op.attach() function to connect to running Origin instance

1.0.7

7-2-2021

Data Connector Class to control settings.
dc.py is added.

Added following functions:
op.Connector(self, wks, dctype = '', keep_DC=True)
dc.settings(self)
dc.source(self) or dc.source(self, s)
dc.new_sheet(self, name)
dc.imp(self, fname='', sel='', sparks=False)

1.0.7

7-2-2021

Added methods to set parameter value and pop up Parameters dialog during fitting:

#Pop up message dialog during fitting
messagebox
#Pop up Parameters dialog during fitting
model.param_box(self)
#Set Parameter value
model.set_param(self, p, val)

1.0.7

7-2-2021

Added functions to WSheet class.

#dynamic merge column label
merge_label(self, type_ = 'L', unmerge=False)
#delete worksheet
destroy()
#delete columns
del_col(self, c1, nc=1)

1.0.6

4-26-2021

NLFit function to do non-linear curve fit:

set_data, set_mdata (for matrix fit), set_range (for multiple variables fit), fix_param, fit, result, report (to generate report sheet)

Added argument method for NLFit class to support implicit and explicit fit.

 

LinearFit function to do linear curve fit

set_data, fix_slope, fix_intercept, result, report

1.0.6

4-26-2021

Improved add_plot() method to support data range string to plot many columns in one call.

 

Added group() method to Graphlayer class to group plots.

 

Support setting color/symbol increment and color/symbol shape list for grout plot.

pl.colorinc, pl.symbol_kindinc,

plot.colormap, plot.shapelist

1.0.6

4-26-2021

Added comments property to WSheet ,WBook, MBook ,MSheet ,GPage classes. Added access to WSheet “User” tree with set_float, set_int, set_str.

 

Improved add_plot() method to create plot with error bar.

 

Added methods to pe for folder creation, management, and navigation

mkdir #pe_mkdir

cd #pe_cd

search #pe_path

move #pe_move

 

Added folder class to handle all the objects in a targeted folder:

path, pages, active_folder, root_folder

 

Added dctype argument to from_file function to specify Data Connection type. If not specified, CSV or Excel DC is used.

1.0.6

4-26-2021

Added new function:

modi_col

 

Added properties to plot:

symbol_sizefactor, symbol_interior, set_fill_area, transparency

 

Added property to get dataset name of plot:

layer.plot.name$

1.0.6

4-26-2021

Added method to WSheet class to read data from report sheet:

report_table()

 

Added method to convert LabTalk tree to Python dictionary

lt_dict_to_tree()

lt_tree_to_dict()

 

Added properties to convert Origin user tree to Python dictionary:

wks.usertree

wks.userprops

1.0.6

4-26-2021

Added Function:

set_formula

 

Improve LabTalk column property to set column formula directly.

wks.col.formula$ //column formula

wks.col.script$ //before formula script

wks.col.py$ //pyt

1.0.3

11-25-2020

fix external originpro exception on second run

fix external originpro SetData() exception with empty list

Added function get_labels(), set_labels(), MSheet.xymap

ORG-22852

ORG-22871

ORG-22760

1.0.2

11-10-2020

Updated docs link in package.

Added function unembed_sheet()

ORG-22762

ORG-22804

1.0.1

11-2-2020

fix _repr_ error in new_book() function

ORG-22734

1.0.0

10-20-2020

Version 1.0.0 release, requires Origin 2021 or later.