Skip to content

Commit fdb2313

Browse files
committed
Updated documentation with new readme file (better introduction and better installation description)
1 parent 0ed5fd7 commit fdb2313

19 files changed

+1758
-1049
lines changed

README.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# pynoddy
1+
## pynoddy
22

3-
## What is ``pynoddy``
3+
### What is ``pynoddy``
44

55
``pynoddy`` is a python package to write, change, and analyse kinematic geological modelling simulations. It provides methods to define, load, modify, and safe kinematic models for simulation with ``Noddy``. In addition, the package contains an extensive range for postprocessing of results. One main aspect of ``pynoddy`` is that it enables the encapsulation of full scientific kinematic modelling experiments for full reproducibility of results.
66

7-
## What is Noddy?
7+
### What is Noddy?
88

99
Noddy itself is a kinematic modelling program written by Mark Jessell [1][2] to simulate the effect of subsequent geological events (folding, unconformities, faulting, etc.) on a primary sedimentary pile. A typical example would be:
1010

@@ -15,12 +15,14 @@ Noddy itself is a kinematic modelling program written by Mark Jessell [1][2] to
1515

1616
The result could look something like this:
1717

18-
<img href="https://github.com/flohorovicic/pynoddy/blob/master/noddy_block_example.png", alt="Noddy Block Model">
18+
<img src="noddy_block_example.png" width="600"/>
1919

20+
``Noddy`` has been used to generate models for teaching and interpretation purposes, but also
21+
for scientific studies (e.g. [3]).
2022

21-
# Installation
23+
## Installation
2224

23-
## Installation of the ``pynoddy`` package
25+
### Installation of the ``pynoddy`` package
2426

2527
A successful installation of ``pynoddy`` requires two steps:
2628

@@ -50,11 +52,11 @@ A Windows installer is also available on the Pypi page:
5052

5153
https://pypi.python.org/pypi/pynoddy/
5254

53-
## Installation of ``Noddy``
55+
### Installation of ``Noddy``
5456

5557
``Noddy`` is a command line program, written in C, that performs the kinematic simulation itself. The program compilation is platform dependent, and therefore several ways for installation are possible (see below information for specific platforms).
5658

57-
## Using a pre-compiled version of ``Noddy``
59+
### Using a pre-compiled version of ``Noddy``
5860

5961
The easy way to obtain a executable version of ``Noddy`` is simply
6062
to download the appropriate version for your operating
@@ -75,7 +77,7 @@ your local environment path variable. If you are not sure if a folder
7577
is in the ``PATH`` or would like to add new one, see
7678
below for more information.
7779

78-
## Compiling ``Noddy`` from source files (recommended installation)
80+
### Compiling ``Noddy`` from source files (recommended installation)
7981

8082
The source code for the executable ``Noddy`` is located in the repository
8183
directory ``noddy``. In order to perform the
@@ -98,7 +100,7 @@ MinGW terminal) with the command:
98100
Compilation usually produces multiple warnings, but should otherwise
99101
proceed successfully.
100102

101-
## Placing the executable ``noddy`` in the Path
103+
### Placing the executable ``noddy`` in the Path
102104

103105
For the most general installation, the executable of ``Noddy``
104106
should be placed in a folder that can be located from any terminal
@@ -118,7 +120,7 @@ On ``windows``, adding a folder to the local environment variable
118120
the Environment Variables sub-menu, and find the variable Path. Click
119121
to edit the variable, and add the location of your folder to this path.
120122

121-
## Noddy executable and GUI for Windows
123+
### Noddy executable and GUI for Windows
122124

123125
The original graphical user interface for ``Noddy`` and the compiled
124126
executable program for Windows can be obtained from:
@@ -131,9 +133,9 @@ concerning the original implementation of the software, as well as
131133
more technical details on the modelling method itself.
132134

133135

134-
# Testing the installation
136+
## Testing the installation
135137

136-
## Testing ``noddy``
138+
### Testing ``noddy``
137139

138140
Simply test the installation by running the generated (or downloaded)
139141
executable in a terminal window (on Windows: ``cmd``):
@@ -163,7 +165,7 @@ recognised by the (Environment) path variable, then you should be able
163165
to run ``Noddy`` from any directory. If this is not the case,
164166
please check if it is correctly placed in the path (see above).
165167

166-
## Testing ``pynoddy``
168+
### Testing ``pynoddy``
167169

168170
The ``pynoddy`` package contains a set of tests which can be
169171
executed in the standard Python testing environment. If you cloned or
@@ -184,9 +186,9 @@ of the ``noddy(.exe)`` executable.
184186

185187
If all tests are successful, **you are ready to go!**
186188

187-
# How to get started
189+
## How to get started
188190

189-
## Tutorial Jupyter notebooks
191+
### Tutorial Jupyter notebooks
190192

191193
The best way to get started with ``pynoddy`` is to have a look at the IPython notebooks
192194
in pynoddy/docs/notebooks. The numbered notebooks are those that are part of the
@@ -198,7 +200,7 @@ https://jupyter.org
198200

199201
The notebook can be installed via ``pip`` or ``conda``.
200202

201-
## The Atlas of Strutural Geophysics
203+
### The Atlas of Strutural Geophysics
202204

203205
The Atlas of Structural Geophysics contains a collection of structural
204206
models, together with their expression as geophysical potential fields
@@ -213,17 +215,17 @@ The structural models are
213215
created with Noddy and the history files can be downloaded from the
214216
atlas. Models from this Atlas can directly be loaded with ``pynoddy``. See example notebooks and documentation for more details.
215217

216-
## Documentation
218+
### Documentation
217219

218220
An updated version of the documentation is available within the ``pynoddy`` repository (pynoddy/docs).
219221

220222
In addition, an online html version of the documentation is also hosted on readthedocs:
221223

222224
http://pynoddy.readthedocs.org
223225

224-
# Technical Notes
226+
## Technical Notes
225227

226-
## Dependencies
228+
### Dependencies
227229

228230
``pynoddy`` depends on several standard Python packages that should be shipped with any standard distribution (and are easy to install, otherwise):
229231

@@ -239,7 +241,7 @@ https://bitbucket.org/pauloh/pyevtk/src/9c19e3a54d1e?at=v0.1.0
239241

240242
The package is automatically downloaded and installed when running python setup.py install.
241243

242-
## 3-D Visualisation
244+
### 3-D Visualisation
243245

244246
At this stage, we do not supply methods for 3-D visualisation in python (although this may change in the future). However, we provide methods to export results into a VTK format. Exported files can then be viewed with the highly functional VTK viewers, and several free options are available, for example:
245247

@@ -249,17 +251,18 @@ At this stage, we do not supply methods for 3-D visualisation in python (althoug
249251

250252
- Mayavi: http://docs.enthought.com/mayavi/mayavi/
251253

252-
# License
254+
## License
253255

254256
``pynoddy`` is free software (see license file included in the repository). Please attribute the work when you use it and cite the publication if you use it in a scientific context - feel free to change and adapt it otherwise!
255257

256258

257-
# References
259+
## References
258260

259261
[1] Mark W. Jessell. Noddy, an interactive map creation package. Unpublished MSc Thesis, University of London. 1981.
260262

261263
[2] Mark W. Jessell, Rick K. Valenta, Structural geophysics: Integrated structural and geophysical modelling, In: Declan G. De Paor, Editor(s), Computer Methods in the Geosciences, Pergamon, 1996, Volume 15, Pages 303-324, ISSN 1874-561X, ISBN 9780080424309, http://dx.doi.org/10.1016/S1874-561X(96)80027-7.
262264

265+
[3] Armit, R. J., Betts, P. G., Schaefer, B. F., & Ailleres, L. (2012). Constraints on long-lived Mesoproterozoic and Palaeozoic deformational events and crustal architecture in the northern Mount Painter Province, Australia. Gondwana Research, 22(1), 207–226. http://doi.org/10.1016/j.gr.2011.11.003
263266

264267

265268

-5 Bytes
Binary file not shown.
3.71 KB
Binary file not shown.

docs/_build/doctrees/index.doctree

2 Bytes
Binary file not shown.
-95 Bytes
Binary file not shown.
25.8 KB
Binary file not shown.
61.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)