# Graphical user interface on BornAgain

file:///usr/share/doc/bornagain/html/gui/index.html Recent content in Graphical user interface on BornAgain Hugo en-us

# Quick Start

file:///usr/share/doc/bornagain/html/gui/quick-start.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/gui/quick-start.html <h2 id="quick-start">Quick Start</h2> <p>This tutorial demonstrates how to run the simulation and get the simulated intensity data image in a few mouse clicks.</p> <h3 id="1-run-bornagain-graphical-user-interface-gui">1. Run BornAgain graphical user interface (GUI)</h3> <p><figure class="float-left"> <a href="file:///usr/share/doc/bornagain/html/img/draw/BornAgain_48x48.png"> <img src="file:///usr/share/doc/bornagain/html/img/draw/BornAgain_48x48.png" width="48px"> </a> <figcaption> <p></p> </figcaption> </figure> Use the BornAgain icon located on the desktop (Windows) or on Launchpad (MacOS) to start the GUI.</p> <p>For Linux users: run an executable located in BornAgain installation directory from the command line:</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ &lt;install_dir&gt;/bin/bornagain </span></span></code></pre></div><p>When you start the BornAgain GUI, you will be presented with the Projects panel. Click on the &ldquo;New Project&rdquo; button to create a new project.</p>

# GUI overview

file:///usr/share/doc/bornagain/html/gui/gui-overview.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/gui/gui-overview.html <h2 id="gui-overview">GUI overview</h2> <p>The basic features of the interface are explained below.</p> <ul> <li><a href="#projects-view">Projects View</a></li> <li><a href="#instrument-view">Instrument View</a></li> <li><a href="#sample-view">Sample View</a></li> <li><a href="#simulation-view">Simulation View</a></li> <li><a href="#jobs-view">Jobs View</a></li> </ul> <h3 id="projects-view">Projects view</h3> <p>When you start BornAgain GUI, you will be presented with the Projects View, where you can</p> <ul> <li>Create new projects</li> <li>Open recent projects</li> </ul> <figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/draw/gui_projectsview_l.png"> <img src="file:///usr/share/doc/bornagain/html/img/draw/gui_projectsview_l.png" width="800px"> </a> <figcaption> <p></p> </figcaption> </figure> <p>You can use the view selector located on the left vertical panel (1) to change to one of the following views.</p> <table> <thead> <tr> <th style="text-align: left"></th> <th style="text-align: left"></th> </tr> </thead> <tbody> <tr> <td style="text-align: left"><figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/draw/main_projectsview.png"> <img src="file:///usr/share/doc/bornagain/html/img/draw/main_projectsview.png" width="50px"> </a> <figcaption> <p></p> </figcaption> </figure> </td> <td style="text-align: left">Switch to Projects View</td> </tr> <tr> <td style="text-align: left"><figure class="center"> <a href="file:///usr/share/doc/bornagain/html/img/draw/main_instrumentview.png"> <img src="file:///usr/share/doc/bornagain/html/img/draw/main_instrumentview.png" width="50px"> </a> <figcaption> <p></p>

# Fitting in the GUI

file:///usr/share/doc/bornagain/html/gui/gui-fitting.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/gui/gui-fitting.html <h2 id="fitting-in-the-gui">Fitting in the GUI</h2> <p>This tutorial gives a brief overview of the fitting functionality in the GUI.</p> <p>As a first example, this tutorial will focus on fitting data simulated with BornAgain itself. More complex fitting examples will be addressed in coming releases. This tutorial is organized as follows:</p> <ul> <li><a href="#1-preparing-the-data-for-fitting">Preparing the data for fitting</a></li> <li><a href="#2-simulating-the-model">Simulating the model</a></li> <li><a href="#3-importing-the-experimental-data">Importing &ldquo;experimental&rdquo; data in BornAgain</a></li> <li><a href="#4-performing-a-fit">Performing a fit</a></li> </ul> <div class="notices note" >Although this tutorial consideres GISAS data fitting, the steps described are equally applicable to fitting reflectometry or off-specular data (after choosing the appropriate type of instrument).</div> <h3 id="1-preparing-the-data-for-fitting">1. Preparing the data for fitting</h3> <p>First, as explained in the GUI Overview chapter, create a project and select and instrument (here, GISAS).</p>