Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 2.4 KB

README.md

File metadata and controls

43 lines (28 loc) · 2.4 KB

A tldr in Scientific Computing

Benefits

  • learn to code and automate your work
  • these programs are free compared to paid programs like Excel, Prism or Matlab

Goal

This post is inspired by a podcast episode:

as well as from three papers also cited in the podcast:

Making a new environment

  • these instructions all you to create a project environment called: myprojectname from anywhere on your computer because it uses the path relative to your home path ~
  • this assumes you have made a folder called .venvs in your home directory ~. If you want this folder to not be invisible make it: venvs or anything without a period . at the start of the name.
  1. python3 -m ~/.venvs/myprojectname
  2. source activate ~/.venvs/myprojectname

Re-activating an environment

  1. Navigate back to your project folder
    • e.g. cd Desktop/myproject if "myproject" is located on your desktop
  2. re-activate your environment: . myproject_env/bin/activate
  3. restart a jupyter server: jupyter-lab

While there is an abundance of excellent information out there online, it can be intimidating to know where to start. The purpose of this post is introduce the core concepts that I find valuable and point to more extensive references. The main goal is simply to make you aware of what is out there, what is possible, and how it can help you.

For a scientist, regardless of background or specialization, Software Carpentry is an excellent starting point to gather more extensive information on all topics cover, so consider this blog-series a too long, didn't read tldr, so we aim to keep it brief.

Next

  1. Background to Computing Environments
  2. Notes for Mac users
  3. Basic Terminal Commands
  4. Plotting with Python