Notes on oct2py calling Octave scripts from Python

background

I have an oct2py that calls an Octave script from Python.

https://blink1073.github.io/oct2py/

Installation

pip install oct2py

It's pure python, so you can install it on Windows as it is.

Sample to call svd function etc. on Octave side

https://blink1073.github.io/oct2py/source/demo.html

Thank you.

OctaveMagic

In Jupyter notebook, you can interact with Octave as a magic command (?) Inline.

https://nbviewer.jupyter.org/github/blink1073/oct2py/blob/master/example/octavemagic_extension.ipynb?create=1

Comparison of calculation results

If you want to compare the results of numerical calculations in python and Octave,

https://docs.scipy.org/doc/numpy-1.17.0/reference/routines.testing.html

Is it better to use around numpy.testing?

Recommended Posts

Notes on oct2py calling Octave scripts from Python
Notes on using MeCab from Python
Notes on accessing dashDB from python
[Python] Notes on data analysis
Notes on installing Python on Mac
Notes on installing Python on CentOS
Notes on importing data from MySQL or CSV with Python
Notes on Python and dictionary types
Notes on installing Python using PyEnv
Run Python scripts synchronously from C #
Notes on using rstrip with python.
Check installed modules from Python scripts
Call C / C ++ from Python on Mac
Run Python Scripts from Cisco Memorandum_EEM
Update Python on Mac from 2 to 3
Notes for using OpenCV on Windows10 Python 3.8.3.
Notes on PyQ machine learning python grammar
Notes on nfc.ContactlessFrontend () for nfcpy in python
Learning notes from the beginning of Python 1
Note for Pyjulia calling Julia from Python
Notes on doing Japanese OCR with Python
Connecting from python to MySQL on CentOS 6.4
Notes on building Python and pyenv on Mac
Learning notes from the beginning of Python 2
Notes on using code formatter in Python
Notes on installing Python3 and using pip on Windows7
A memorandum of calling Python from Common Lisp
Notes on machine learning (updated from time to time)
Notes on using dict in python [Competition Pro]
PHP and Python integration from scratch on Laravel
[Node-RED] Execute Python on Anaconda virtual environment from Node-RED [Anaconda] [Python]
ABC125_C --GCD on Blackboard [Notes solved in Python]
[Python] Notes on accelerating genetic algorithms using multiprocessing
Python scraping notes
Python study notes _000
Python learning notes
Python on Windows
twitter on python3
Python beginner notes
Notes on Flask
sql from python
python C ++ notes
python on mac
Python study notes _005
python personal notes
python pandas notes
Python study notes_001
python learning notes
Notes on creating a python development environment on macOS Catalina
Manipulate excel files from python with xlrd (personal notes)
Preferences to generate animated GIFs from Python on Mac
Python --Notes when converting from str type to int type
From python to running instance on google cloud platform
Interact with Python on Android from PC via adb
I sent regular emails from sendgrid on heroku, on python
Hit Watson's REST API from Python on IBM Bluemix
Import classes in jar files directly from Python scripts
Notes on writing config files for Python Note: configparser
Minimum notes when using Python on Mac (Homebrew edition)
How to know the number of GPUs from python ~ Notes on using multiprocessing with pytorch ~