-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation_guide
45 lines (32 loc) · 1.28 KB
/
documentation_guide
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Guide to good documentation practices, as described in Effective Computation in Physics (O'Reilly).
What to include?
-Equations implemented
-Links to journal articles of influence
-Thought process
-What would be recorded in a lab notebook
Types of Documentation:
Theory manuals, user and developer guides, code comments, self-documenting code, generated API documentation
Theory Manuals
-Captures the scientific goals and provenance of the code
-Peer-reviewed
-Archived
-Can be cited
......
User and Developer Guides
Readme Files
-Include basic information on: installation, citation, license, release, about
EXAMPLE:
SQUIRREL, version 1.2 released on 2026-09-20
# About
The Spectral Q and U Imaging Radiation Replicating Experimental Library (SQUIRREL) is a library for replication radiation sources with spectral details and Q and U polarization of superman bubblehum.
# Installation
The SQUIRREL library relies on other libraries:
- The ACORN library www.acorn.nutz
- The TREEBRANCH database format API
Install those before installing the SQUIRREL library. To install the SQUIRRel library:
./configure
make --prefix=/install/path
make install
...
Comments
-In Python, you can use pound sign (#) or triple quote (""") to denote a comment