Home » News & Blogs » Practical tips for setting up a research project, or “Things I wish I had known when I started my PhD”: Part 2
Bookmark and Share
astrobites

Practical tips for setting up a research project, or “Things I wish I had known when I started my PhD”: Part 2

15 Dec 2018, 16:35 UTC
Practical tips for setting up a research project, or “Things I wish I had known when I started my PhD”: Part 2
(200 words excerpt, click title or image to see full post)

This is the second of two posts on setting up a research project; find part 1 here.The previous post in this guide covered some good housekeeping for research projects that I’ve learned (with difficulty!) over the course of my PhD: a clear directory structure, managing citations, and keeping a log file. In this post, I’m going to focus on ways to keep your code tidy. This depends on which programming language you will use, and this next advice is mostly Python-focused. However, many of these strategies may still be useful, whether you’re coding in IDL, C, Fortran or any other language!A python, my personal choice of snake and programming language
Organise your directories (again)A strategy to keep code more organised is to keep your source code, i.e. the detailed, nuts-and-bolts functions and packages that you’ve written and use all the time, in one place, and then do your analysis somewhere else. Tasks like reading in data and making plots can be kept elsewhere. Jupyter notebooks are a great tool for this analysis part if you use Python, allowing you to see the output of your code as you go and present it neatly to colleagues or your supervisor. You can ...

Latest Vodcast

Latest Podcast

Advertise PTTU

NASA Picture of the Day

Astronomy Picture of the Day

astronomy_pod