Matlab => Python migration notes

Introduction

--Notes for MATLAB users touching Python --Sequential revision

environment

--spyder It feels heavy and unsightly. I feel that Rstudio is inferior in perfection. --Enthought canopy I don't remember --visual studio heavy, windows --I think emacs + jedi.el + ipython is enough for completion --Atom, Subime + ipython I haven't tried it, but it's enough if it complements external modules.

startup If you run startup.m in MATLAB / in MATLAB /, it will be executed at startup, so I set the path there, but in ipython it is like "~ / .ipython / profile_default / startup / 00-hoge.py" It seems that you should write it. From the README below. I don't know windows.

This is the IPython startup directory
.py and .ipy files in this directory will be run *prior* to any code or files specified
via the exec_lines or exec_files configurables whenever you load this profile.

Files will be run in lexicographical order, so you can control the execution order of files
with a prefix, e.g.
    00-first.py
    50-middle.py
    99-last.ipy
    

I wrote only this for the time being

import matplotlib.pyplot as plt
import numpy as np

Impressions

――It has been improved in recent MATLAB, but the namespace is easy to understand. --Character code, especially escape is complicated --Ipython sometimes doesn't complement --Scraping is easy ――I feel that MATLAB is more flexible and better for graphs.

grammar

index

Function related

At first, I wasn't sure about the standard packages for statistics and image processing, regardless of standard processing.

system

queue

It's almost like numpy

statistics

Simple functions are in numpy. After that, scipy.stats seems to be enough

Image processing related

Is skimage close to the number one IPT?

Recommended Posts

Matlab => Python migration notes
Python scraping notes
Python learning notes
Python beginner notes
Python study notes_006
python C ++ notes
Python study notes _005
Python grammar notes
Python Library notes
python personal notes
python pandas notes
Python study notes_001
python learning notes
Python3.4 installation notes
missingintegers python personal notes
Python package development notes
python decorator usage notes
Python ipaddress package notes
[Personal notes] Python, Django
Python Pickle format notes
[Python] pytest-mock Usage notes
First Python miscellaneous notes
Notes around Python3 assignments
Notes using Python subprocesses
Python try / except notes
Python framework bottle notes
Python notes using perl-ternary operator
O'Reilly python3 Primer Learning Notes
Web scraping notes in python3
Python standard unittest usage notes
Python notes to forget soon
python * args, ** kwargs Usage notes
Python notes using perl-special variables
Python 處 處 regular expression Notes
Python Tkinter notes (for myself)
[Python] Notes on data analysis
Notes on installing Python on Mac
Get Evernote notes in Python
Notes on installing Python on CentOS
Call Matlab from Python to optimize
Python
Minimum grammar notes for writing Python
Notes on using MeCab from Python
Typing automation notes by Python beginners
Notes for me python csv graph
Notes for Python file input / output
Notes on using rstrip with python.
Notes on accessing dashDB from python
(Personal notes) Python metaclasses and metaprogramming
Notes for using OpenCV on Windows10 Python 3.8.3.
Notes using cChardet and python3-chardet in Python 3.3.1.
WEB scraping with Python (for personal notes)
Notes on PyQ machine learning python grammar
Blender 2.82 or later + python development environment notes
Notes on nfc.ContactlessFrontend () for nfcpy in python
Learning notes from the beginning of Python 1
Notes on doing Japanese OCR with Python
Notes on building Python and pyenv on Mac
(Python) HTML reading and regular expression notes
Notes for using python (pydev) in eclipse
Learning notes from the beginning of Python 2