Skip to content

Jupyter notebooks support

MICpad allows starting and stopping Jupyter notebooks to ease the start of working with them. This is especially useful for users who are not familiar with such notebooks and do not have a Jupyter lab installation available.

In fact, MICpad will start a Jupyter server and run the according Jupyter lab web interface in your default web browser using the configured Python environment (see App configuration / Python environment.

There are two notebook examples in the Examples/Benchmark folder which explain the benchmarks B001_1D_ConstantDrivingForce and B004_1Grain_GrowthFromLiquid_ZeroInitialSize a little bit more. These notebooks also make use of the new Python interface MicPy (see MicPy documentation). The B004 notebook contains shows a way to make a small, local parameter study.

Jupyter notebooks in the examples. Copy example to your folder and open the notebook.

MICpad does not support direct editing of notebooks. It will be opened read-only with activating the run tab immediately.

Use the start button to run a Jupyter server and web interface

If the server starts up, the command line output of this server will be displayed in the result window. Usually, this is only of interest if something is going wrong and the Jupyter lab web interface will not show up. If the web interface does not startup automatically, you can find the according url in this output to call it manually.

A Jupyter notebook running in a browser

Stopping the server can be down from inside the web interface (File->Shut down) or by using the stop/kill button in MICpad. Shutting down the server will take a few seconds. The stop/kill button can also be used to reset MICpad.