-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python refactoring: ideas #189
Comments
A good alternative is to use imatlab which brings a Matlab into Jupiter: which can probably be made into a Debian package. |
Install for Ubuntu 18.04, python 3.6 (from system), matlab R2017a:
Installation is done in:
|
Notes above from: Works OK in Jupyter. |
Matlab Engine R2017a Installation output:
Test with:
|
imatlab installation output [https://github.com/imatlab/imatlab] :
Test by starting Jupyter and a Matlab kernel (pop-up 'New' menu, top-right). You can then type e.g.:
will display the static graphics in the Jupyter notebook session. |
Configure Jupyter and apache for distant connexion: This includes a user/passwd login. |
Installation of PlotLy (only once to set the credentials):
Setting offline plotting (at every Matlab startup):
Generating plotly figures:
|
Accessing Notebook from 'outside' (not localhost):indicates that the configuration file has to allow distant connection in file:
then changes lines:
Adding authentication (basic)To add a password, use:
will modify the above configuration to store the password as a hash (encoded). |
An other solution is to write a Jupyter Kernel around iFit runtime executable: seems rather simple to set-up. |
The above example does not start the kernel. Installation:
Locations:
Actually, there is also a simple plotter kernel: which mentions the format of the messaging protocol: |
iData and iFunc classes can inherit from multiple sub-classes, e.g.:
Master class:
Sub classes (see https://github.com/McStasMcXtrace/iFit/blob/master/Docs/Methods.html):
Then we assemble
which builds all bits and allow each sub-class to be rather small.
The text was updated successfully, but these errors were encountered: