-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme~
100 lines (64 loc) · 3.12 KB
/
readme~
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Paper template for the pinga-lab (*replace with paper title*)
by
Bagus Tris Atmaja
Author 2,
etc
> This is a template for papers that use Python code and Jupyter notebooks to
> generate their results (though it can be adapted to use other technologies).
> The text is written in LaTex and tasks are automated using `Makefile`s.
> Ideally, all results, figures and the final paper PDF should be generated by
> running a single `make` command in the root of this repository.
> Fill out the sections below with the information for your paper.
This paper has been submitted for publication in *Some Journal*.
> Brief description of what this paper is about (2-3 sentences). Include a
> figure as well with the main result of your paper.
![](manuscript/figures/hawaii-trend.png)
*Caption for the example figure with the main results.*
## Abstract
> Paste here the abstract.
## Software implementation
> Briefly describe the software that was written to produce the results of this
> paper.
All source code used to generate the results and figures in the paper are in
the `code` folder.
The calculations and figure generation are all run inside
[Jupyter notebooks](http://jupyter.org/).
The data used in this study is provided in `data` and the sources for the
manuscript text and figures are in `manuscript`.
Results generated by the code are saved in `results`.
See the `README.md` files in each directory for a full description.
## Getting the code
You can download a copy of all the files in this repository by cloning the
[git](https://git-scm.com/) repository:
git clone https://github.com/bagustris/paper_template.git
or [download a zip archive](https://github.com/bagustris/paper_template).
A copy of the repository is also archived at *insert DOI here*
## Dependencies
You'll need a working Python environment to run the code.
The recommended way to set up your environment is through the
[Anaconda Python distribution](https://www.anaconda.com/download/) which
provides the `conda` package manager.
Anaconda can be installed in your user directory and does not interfere with
the system Python installation.
The required dependencies are specified in the file `requirements.txt`.
We use `pip` virtual environments to manage the project dependencies in
isolation.
Thus, you can install our dependencies without causing conflicts with your
setup (even with different Python versions).
Run the following command in the repository folder (where `environment.yml`
is located) to create a separate environment and install all required
dependencies in it:
pip3.6 venv REPO_NAME
## Reproducing the results
Before running any code you must activate the conda environment:
source activate REPO_NAME
To reproduce result in , run the following in order:
```bash
```
## License
All source code is made available under a BSD 3-clause license. You can freely
use and modify the code, without warranty, so long as you provide attribution
to the authors. See `LICENSE.md` for the full license text.
The manuscript text is not open source. The authors reserve the rights to the
article content, which is currently submitted for publication in the
JOURNAL NAME.