There are two ways for Origin users to work with Python:
The following sections outline the benefits of each, to help you decide which approach is best for you.
The key benefits of using the embedded python environment within Origin are:
To summarize, if you are looking to extend your data processing and analysis to new areas not currently supported in Origin such as machine learning, neural networks, Bayesian regression or other advanced regression models, advanced signal processing, data processing using pandas, or even writing your own Python code to streamline your workflow using your existing Origin workbook and graph templates, then you can make use of the embedded Python environment in Origin.
If you do most of your data import/data acquisition and your data processing already in Python, and wish to simply push your processed data into Origin projects and perform further final processing and graph creation using Origin, then external Python may be a good choice for you.
You will need to have Python installed outside of Origin, which you may likely already have. Note that the embedded Python described in the above section is not affected by your external Python installation. You will however need to manage updates and installation of packages for your external Python yourself.
Within your external Python environment, you will then install the originpro package from pypi, which provides high level APIs for interacting with Origin. You will of course need to have Origin installed and licensed on your PC.