<jupyter_start><jupyter_text>Welcome to ***AMUSE***. You are currently viewing the AMUSE tutorial. This is a [Jupyter Notebook web-application](https://jupyter.org/ "Jupyter"). With this application you can create, edit and run python scripts on your local computer. We will be using it for these AMUSE tutorials, but you can use it for all your interactive explorations of Python and it's many libraries, scripts and applications. This first tutorial is for users unfamiliar with the notebook interface. Using the notebook interface is not very difficult, but you''ll need to get acquainted with some keyboard shortcuts.To perform a simple Python expression, type it inside a ***code*** cell and press 'Shift-Enter':<jupyter_code>6.6738e-11  * 5.972e24 /  6378.1**2<jupyter_output><empty_output><jupyter_text>The application also supports _keyboard completion_. If you know the first letters of a function or a class, IPython can lookup the rest. For example type 'pri' and press the 'Tab' key:<jupyter_code>pri<jupyter_output><empty_output><jupyter_text>This also works for modules, just enter an import statement and press tab on the module name:<jupyter_code>from amuse import l<jupyter_output><empty_output><jupyter_text>The 'Tab' key can also be used to get documentation for a function. The documentation will be shown when you press the 'shift' + 'Tab' keys just after a open  parenthesis '('. For example type 'print(' and press 'shift+Tab':<jupyter_code>print(<jupyter_output><empty_output><jupyter_text>There are a few more keyboard shortcuts. To find out which navigate to the 'Keyboard Shortcuts' item in the Help menu. Here, and also in normal AMUSE scripts, matplotlib and numpy are often used for plotting and numerical operations, these are enabled by the following imports. The inline statement includes the plots into the notebook:<jupyter_code>%matplotlib inline
from matplotlib import pyplot
import numpy

pyplot.plot(numpy.arange(10))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.06998992950654583, 'fraction_numerical': 0.010574018126888218, 'mean_word_length': 5.899305555555555, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '374311', 'license': 'Apache-2.0', 'n_tokens_mistral': 567, 'n_tokens_neox': 545, 'n_words': 253, 'path': 'doc/interactive_tutorial/00-Welcome.ipynb', 'repo_name': 'rknop/amuse', 'size': '1986'}