This information at http://astronomy.nmsu.edu/sdss_bootcamp/computing.html

Getting set up

To avoid having to make sure different software is all installed on different computers, we will use the central astronomy server. It's possible to install things on your laptop, but may take some time and effort: you'll have to discuss with your mentors whether you will work on your laptop or another computer. For remote usage: For standalone laptop:

Network and remote login

ssh -Y visitor@astronomy.nmsu.edu

Unix

The operating system of a computer is the system software that runs that provides user interface to the computer hardware. These days, there are two main operating systems: Windows and Unix-like operating systems. Most astronomers work on computers that use a Unix-like operating system, at least for data analysis (maybe not for basic office-like stuff, paper writing). Mac OS X is a Unix-like operating system. Graphical vs text interface: most astronomers use text interface!

File organization:

Unix commands (italics mean you file in desired quantity, square brackets mean optional parameter): Unix help: Practice: Creating/editing files: Running programs: More UNIX utility commands: Practice: Shells and shell scripts: Customizing your UNIX environment: Practice:

Databases and SQL

Databases are a convenient way to store large quantities of information, and to cross reference different types of information. The SDSS provides a database with many of the derived quantities from the different SDSS surveys, and provides some tools to make accessing these databases fairly easy.

For SDSS, the main database is the Catalog Archive Server (CAS), which compiles derived quantities from the SDSS data (not images or spectra, but quantities that are derived from them: for example, ....?

  • More advanced queries can extract information from multiple tables, joining them on specified conditions; this is where the power of a relational database really comes in Accessing the CAS database: Practice:

    Data files

    Interactive languages and plotting

    Much of astronomical analysis involves making plots of tabulated data. This data may be stored in a database, or it may be stored in files. Various tools used by astronomers: Pros and cons, REU mentors.

    Python

    Python is a programming language that has well-developed package for making plots (matplotlib)

    Ways to run Python:

    Some very simple Python: Practice Using pre-existing python packages/modules: Reading data files in Python: Practice: Python plotting: Practice:

    IDL

    Running IDL IDL Help Simple IDL Practice: Using pre-existing IDL routines: Reading data files in IDL: Practice: Simple plotting and overplotting: More advanced Practice:

    TOPCAT

    Table manipulation tool and plotter Can install on Mac OS X laptop:
  • TOPCAT for Mac OS X Simple usage: