Tags

Other articles


  1. Magnitude Primer

    A primer on astronomical magnitdues

    An astronomical magnitude is a measure of the brightness of a light source. Both its overall scaling and its reversal from our usual sense of the word "brightness" date back to the Greeks, so we have them to thank for this confusing system.

    Why learn magnitudes? read more

  2. Slugging through array manipulation

    Let's get some practice with numpy array manipulation by playing around with images.

    Plotting images

    To start, download the file linked here. If you look at the contents of this comma-separated variable file, you should see a gigantic array of integers separated by commas.

    There are a bewildering multitude of …

    read more
  3. Unix file management

    This is likely the last post just on Unix for ASTR 119. We've previously seen how to move around the directory tree in Unix. Here let's see how to read, write, copy, move, edit, and delete files.

    Reading files

    There are a large number of ways to read the contents …

    read more
  4. Living in Unix

    The last post introduced the Unix environment and the basic ways of navigating this environment. Here let's talk about some ways of making your life in the shell a little easier.

    Asking for help

    You can, of course, always ask the class staff for any help. But there is also …

    read more
  5. Navigating Unix

    Later in class we'll be going over how to use Unix in a bit more detail. For now, here's some context for what was going on when we ran the hello-world.py example yesterday in class.

    What's Unix?

    Unix is a family of computer operating systems (OSs). Exactly what modern …

    read more
  6. git

    Published: Thu 20 October 2016

    In posts.

    tags: coffee

    Using git for the greater good

    Overview of git from a UCSC astro coffee discussion.

    Other good references:

    A simple guide.

    Read the docs.

    What not to do

    legacy_code/
        old_versions/
            oldercode.py
            evenoldercode.py
            nounderscoreshere.py
            nocommentshere.py
        my_code_actual_final.py
        my_code_final.py
        my_code_new.py
        my_code.py
        my_code_refactor.py
        my_code_v2.py …
    read more

social