Skip to content
@sphemakh-astrolab

PHYS1026/27 Computer Labs

Astrophysics I Computer Labs

Programming Essentials for Astronomy I: C++ and Python

These computer labs aim to teach essential programming concepts and tools for modern astrophysics. In the first semseter, we will learn the basics of progarmming using the C++ programming language. Then, in the second semester these will be reinforced as we move on to the Python programming language, which will be used to teach the fundamentals of scientific data analysis. The Labs are facilitated using the GitHub platform, and an account on the platform is required for participation. 

Note: GitHub allows multiple e-mail addresses, so if you prefer to open your account using a personal e-mail address, please add your university e-mail after creating the account -- instructions on how to do this can be found on this link


System Setup

The primary computer interface for these labs is the Linux Terminal. However, most of the machines in our computer Lab have the Windows opertaning system installed instead of Linux. However, The Windows Subsystem for Linux (WSL) allows running Linux environment, including command-line tools and applications, directly on Windows. In our case, the falvour of Linux will be Ubuntu.

  • Install Ubuntu via WSL
  • Launch the Windows Command Prompt Terminal (type "command prompt" in your windows search bar)
  • Run wsl --install # This will take a few minutes
  • Then launch Ubuntu by running wsl -d Ubuntu
  • On the first launch, you will be prompted to set a username and password (set these as you wish.)

See the course Wiki for more information

Popular repositories Loading

  1. kepler-template kepler-template Public template

    1

  2. Plotting Plotting Public archive

    C++

  3. p1026-25-introduction-to-git-and-github-github-starter-course p1026-25-introduction-to-git-and-github-github-starter-course Public archive

    p1026-25-introduction-to-git-and-github-github-starter-course created by GitHub Classroom

    2

  4. Andile015 Andile015 Public archive

    Forked from Andile-Sibuyi/Andile015

  5. introduction introduction Public template

    phys1026a-2026-git-and-github-github-starter-course created by GitHub Classroom

  6. phys1026a-2026-git-and-github-phys1026a-2026-git-and-github-github-starter-course phys1026a-2026-git-and-github-phys1026a-2026-git-and-github-github-starter-course Public

    phys1026a-2026-git-and-github-phys1026a-2026-git-and-github-github-starter-course created by GitHub Classroom

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

C++

Most used topics

Loading…