Report Driven Template for experiments
- navigate to https://github.com/bwbellmath/report_driven_template.git
- in the top right corner, click "Fork" and create a fork under your own github account.
- In your fork of report_driven_template click the "Code" button and copy the URL to clone the repo into a directory on your computer.
- clone the repo onto your computer -- note that
git clone
creates a folder with the name of the git repo in the directory where it is run, so if are in/usr/you/code
and you runclone clone .../report_driven_template.git
it will create a new directory/usr/you/code/report_driven_template
which will now contain your local copy of the code.cd cd code git clone https://github.com/[your git username]/report_driven_template.git
- navigate to the directory you just pulled your fork of the repo
into:
cd report_driven_template
conda install numpy pandas gitpython tabulate matplotlib
- Edit
latex_header.tex
to add yourself as\author
and change the title python report.py
latex report.tex
git add img/*.png
if you have added any plot imagesgit commit -am "[describe what you have done]"
git push
- Print all of your results to the output files -- never manually
generate an important result -- never consider an experiment
finished until it is securely documented in the
project.pdf
orproject.md
file on github. - Add commentary as you go, don't generate a naked result and move on to the next experiment without wrapping it up by writing some notes about how you arrived at that result and your interpretation of it.
- Commit
git commit -am "brief note"
and pushgit push
your code often -- this is your "save" procedure for your project.
File where extensions and files that should not be included in the git repo are listed -- preconfigured for python, LaTeX, emacs, and vim
Script where your experiment is performed
LaTeX document that is produced by project.py and stored in git for reuse later.
Header for your latex document -- preconfigured with everything you need (and way more...)
PDF file created for project.tex
stored in git for convenience. Much
cleaner representation of your report that you can print on paper to
turn in or submit for courses, conferences, or journals
Markdown formatted output for your report -- this can be viewed through your web-browser on github and you can share this link with people as the most up-to-date version of your report.
File where functions that are shared among multiple experiment scripts can be stored. All of the .markdown and .pdf print things live here.
Directory where output images will be stored
Directory where ourput data will be stored -- you can change this to a location outside of the repo if you'll be producing very large files.
The Image file produced by our particular block of code.