How to prepare your JFM Notebooks
A JFM Notebook should contain the data and code used to generate a figure in a JFM article and it must be linked to from the figure caption. The output of the JFM Notebook should, therefore, be identical to the image used as the figure. See the Editorial ‘Introducing JFM Notebooks’ for examples.
You can prepare Jupyter Notebooks in your own environment or in CoCalc’s online notebooks. For submission, they must be uploaded to CoCalc. There is a JFM Notebooks template available on CoCalc here. When you copy this in to your own project the CUP license is associated with the project which provides higher performance and computing power.
Please take note of the following requirements when preparing your JFM Notebook:
- JFM Notebooks must be prepared using a Python library already installed by CoCalc, the full list is here.
- You should create one CoCalc project for your paper and create a top-level directory folder called ‘JFM-Notebooks’. Include a folder underneath this for each figure that has a JFM Notebook.
- The figure folders should be named according to their running order (figure 1, figure 2 etc.).
- The figure folders should contain the Jupyter Notebook files (*.ipynb) and any other output (e.g. HTML renderings) associated with that figure.
- Data can be included in the figure folders or in another folder if it is shared across figures. Please ensure the figure and data folders are all nested underneath the ‘JFM-Notebooks’ directory folder in the file hierarchy to ensure all necessary files are available when share links are created.
- For visual consistency, the JFM Notebook Jupyter file (*.ipynb) should begin with the JFM Notebook logo from the included file "JFM-notebooks-logo.jpg". It should be placed at the top of the notebook, as shown in this example.
- Share links for your JFM Notebooks are created by ‘publishing’ the top level JFM-Notebooks directory folder (choose “Published (unlisted) – only people with the link can view this”). You can find the share links for each file in the publish controls. See here for instructions.
- Include links to the Jupyter Notebook file (*.ipynb) or any HTML renderings in the figure caption in your paper.
The CoCalc website has detailed documentation on the CoCalc platform (https://doc.cocalc.com/), getting started (https://doc.cocalc.com/getting-started.html) and Jupyter Notebooks (https://doc.cocalc.com/jupyter.html).