... | ... | @@ -2,6 +2,28 @@ |
|
|
|
|
|
The wiki git carries the notebooks, papers and presentation on this new fitter
|
|
|
|
|
|
## Install
|
|
|
|
|
|
This library is a python package, with some matlab functions for usage directly from matlab. It is a bit large at this point to maintain a separate matlab codebase, although the code would mostly translate 1-1. To install for python
|
|
|
|
|
|
pip install --user iirrational
|
|
|
|
|
|
## Usage in Matlab
|
|
|
|
|
|
The matlab interface relies on the matlab built-in python support since R2014. [Documentation Here](https://www.mathworks.com/help/matlab/getting-started-with-python.html). It also defines a number of helpers for automatic conversion to/from matlab data types, since particularly complex arrays do not convert into python, and most python objects (notably numpy arrays) do not automatically convert back. The native-like interface bridges the gap so that regular usage should not be impeded.
|
|
|
|
|
|
to access the native matlab functions from the python install
|
|
|
|
|
|
addpath(char(py.iirrational.matlabpath()))
|
|
|
|
|
|
Or get the path from that call and add it permanently to you path config file (or MATLABPATH)
|
|
|
|
|
|
Once this is done, there should be a +iirrational package defined.
|
|
|
|
|
|
* [Matlab Interface](matlab_interface) - notes on the matlab specific interface and calling conventions
|
|
|
* [Matlab with Python](matlab_python) - notes on the design requirements to interface between the two
|
|
|
|
|
|
|
|
|
## Papers
|
|
|
* [robust_rational_disc.pdf](papers/robust_rational_disc.pdf)
|
|
|
* [rational_interpolation.pdf](papers/rational_interpolation.pdf)
|
... | ... | |