<!--
Automatically generated HTML file from DocOnce source
(https://github.com/hplgit/doconce/)
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="DocOnce: https://github.com/hplgit/doconce/" />
<meta name="description" content="Computational Physics Lectures: How to write a scientific project, with examples">

<title>Computational Physics Lectures: How to write a scientific project, with examples</title>

<!-- Bootstrap style: bootstrap -->
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- not necessary
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
-->

<style type="text/css">

/* Add scrollbar to dropdown menus in bootstrap navigation bar */
.dropdown-menu {
   height: auto;
   max-height: 400px;
   overflow-x: hidden;
}

/* Adds an invisible element before each target to offset for the navigation
   bar */
.anchor::before {
  content:"";
  display:block;
  height:50px;      /* fixed header height for style bootstrap */
  margin:-50px 0 0; /* negative fixed header height */
}
</style>


<script src="http://sagecell.sagemath.org/static/jquery.min.js"></script>
<script src="http://sagecell.sagemath.org/embedded_sagecell.js"></script>
<link rel="stylesheet" type="text/css" href="https://sagecell.sagemath.org/static/sagecell_embed.css">
<script>
$(function () {
    // Make the div with id 'mycell' a Sage cell
    sagecell.makeSagecell({inputLocation:  '#mycell',
                           template:       sagecell.templates.minimal,
                           evalButtonText: 'Activate'});
    // Make *any* div with class 'compute' a Sage cell
    sagecell.makeSagecell({inputLocation: 'div.compute',
                           evalButtonText: 'Evaluate'});
});
</script>

</head>

<!-- tocinfo
{'highest level': 2,
 'sections': [('Overarching aims first', 2, None, '___sec0'),
              ('What do we mean with computing?', 2, None, '___sec1'),
              ('The standard situation we meet on a daily basis',
               2,
               None,
               '___sec2'),
              ('Practicalities', 2, None, '___sec3'),
              ('Programming languages', 2, None, '___sec4'),
              ('Some basic ingredients for a successful numerical project',
               2,
               None,
               '___sec5'),
              ('More basic ingredients', 2, None, '___sec6'),
              ('The report: how to write a good scienfitic/technical report',
               2,
               None,
               '___sec7'),
              ('The report, the abstract', 2, None, '___sec8'),
              ('The report, the introduction', 2, None, '___sec9'),
              ('The report, discussion of methods and implementation part',
               2,
               None,
               '___sec10'),
              ('The report, results part', 2, None, '___sec11'),
              ('The report, conclusions and perspectives',
               2,
               None,
               '___sec12'),
              ('The report, appendices', 2, None, '___sec13'),
              ('The report, references', 2, None, '___sec14'),
              ('Where do I find scientific articles, books etc and examples of reports',
               2,
               None,
               '___sec15'),
              ('How can I use Python and _matplotlib_ to make figures for my report',
               2,
               None,
               '___sec16'),
              ('The Python code', 2, None, '___sec17'),
              ('Procrastination... the curse of all?', 2, None, '___sec18')]}
end of tocinfo -->

<body>



<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  TeX: {
     equationNumbers: {  autoNumber: "none"  },
     extensions: ["AMSmath.js", "AMSsymbols.js", "autobold.js", "color.js"]
  }
});
</script>
<script type="text/javascript"
 src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>



    
<!-- Bootstrap navigation bar -->
<div class="navbar navbar-default navbar-fixed-top">
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="projectwriting-bs.html">Computational Physics Lectures: How to write a scientific project, with examples</a>
  </div>

  <div class="navbar-collapse collapse navbar-responsive-collapse">
    <ul class="nav navbar-nav navbar-right">
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
        <ul class="dropdown-menu">
     <!-- navigation toc: --> <li><a href="._projectwriting-bs001.html#___sec0" style="font-size: 80%;">Overarching aims first</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs002.html#___sec1" style="font-size: 80%;">What do we mean with computing?</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs003.html#___sec2" style="font-size: 80%;">The standard situation we meet on a daily basis</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs004.html#___sec3" style="font-size: 80%;">Practicalities</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs005.html#___sec4" style="font-size: 80%;">Programming languages</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs006.html#___sec5" style="font-size: 80%;">Some basic ingredients for a successful numerical project</a></li>
     <!-- navigation toc: --> <li><a href="#___sec6" style="font-size: 80%;">More basic ingredients</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs008.html#___sec7" style="font-size: 80%;">The report: how to write a good scienfitic/technical report</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs009.html#___sec8" style="font-size: 80%;">The report, the abstract</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs010.html#___sec9" style="font-size: 80%;">The report, the introduction</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs011.html#___sec10" style="font-size: 80%;">The report, discussion of methods and implementation part</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs012.html#___sec11" style="font-size: 80%;">The report, results part</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs013.html#___sec12" style="font-size: 80%;">The report, conclusions and perspectives</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs014.html#___sec13" style="font-size: 80%;">The report, appendices</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs015.html#___sec14" style="font-size: 80%;">The report, references</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs016.html#___sec15" style="font-size: 80%;">Where do I find scientific articles, books etc and examples of reports</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs017.html#___sec16" style="font-size: 80%;">How can I use Python and <b>matplotlib</b> to make figures for my report</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs018.html#___sec17" style="font-size: 80%;">The Python code</a></li>
     <!-- navigation toc: --> <li><a href="._projectwriting-bs019.html#___sec18" style="font-size: 80%;">Procrastination... the curse of all?</a></li>

        </ul>
      </li>
    </ul>
  </div>
</div>
</div> <!-- end of navigation bar -->

<div class="container">

<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <!-- add vertical space -->

<a name="part0007"></a>
<!-- !split -->

<h2 id="___sec6" class="anchor">More basic ingredients  </h2>
The conventions and techniques outlined here will save you a lot of time when you incrementally extend software over time from simpler to more complicated problems. In particular, you will benefit from many good habits:

<ol>
<li> New code is added in a modular fashion to a library (modules)</li>
<li> Programs are run through convenient user interfaces</li>
<li> It takes one quick command to let all your code undergo heavy testing</li>
<li> Tedious manual work with running programs is automated,</li>
<li> Your scientific investigations are reproducible, scientific reports with top quality typesetting are produced both for paper and electronic devices.</li>
</ol>

<p>
<!-- navigation buttons at the bottom of the page -->
<ul class="pagination">
<li><a href="._projectwriting-bs006.html">&laquo;</a></li>
  <li><a href="._projectwriting-bs000.html">1</a></li>
  <li><a href="._projectwriting-bs001.html">2</a></li>
  <li><a href="._projectwriting-bs002.html">3</a></li>
  <li><a href="._projectwriting-bs003.html">4</a></li>
  <li><a href="._projectwriting-bs004.html">5</a></li>
  <li><a href="._projectwriting-bs005.html">6</a></li>
  <li><a href="._projectwriting-bs006.html">7</a></li>
  <li class="active"><a href="._projectwriting-bs007.html">8</a></li>
  <li><a href="._projectwriting-bs008.html">9</a></li>
  <li><a href="._projectwriting-bs009.html">10</a></li>
  <li><a href="._projectwriting-bs010.html">11</a></li>
  <li><a href="._projectwriting-bs011.html">12</a></li>
  <li><a href="._projectwriting-bs012.html">13</a></li>
  <li><a href="._projectwriting-bs013.html">14</a></li>
  <li><a href="._projectwriting-bs014.html">15</a></li>
  <li><a href="._projectwriting-bs015.html">16</a></li>
  <li><a href="._projectwriting-bs016.html">17</a></li>
  <li><a href="">...</a></li>
  <li><a href="._projectwriting-bs019.html">20</a></li>
  <li><a href="._projectwriting-bs008.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->

</div>  <!-- end container -->
<!-- include javascript, jQuery *first* -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>

<!-- Bootstrap footer
<footer>
<a href="http://..."><img width="250" align=right src="http://..."></a>
</footer>
-->


<center style="font-size:80%">
<!-- copyright only on the titlepage -->
</center>


</body>
</html>
    

