View Code? Open in Web Editor
NEW
This project forked from marcogullieuszik/astromundus2017_python
Lectures given at the Innsbruck University on December 2017
License: GNU General Public License v3.0
Python 0.45%
Jupyter Notebook 99.55%
astromundus2017_python's Introduction
Python as a practical tool for Astrophysicists
- Start the Jupyter notebook
- Shut down the Jupyter Notebook App
- Using the Jupyter notebook
- Scalar Objects in Python
- Variable assignment
- Comments
- Booleans
- Conditional statements: if, elif, else
- while loops
- Strings
- Containers: Tuples, Lists and Dictionaries
- Random numbers
- Mathematical functions
- Basic string operations
- for loops
- List comprehensions: Creating lists using for loops:
- break and continue statements
- Functions
- The input function
- Read and write ASCII files
- Exercises
- Python help() function
- Get help in a jupyter notebook
- Other sourcce of information
- Numpy
- Create an array
- Operations
- Numpy: functions and methods
- Manipulating arrays
- Reshaping, resizing and stacking arrays
- Copy and "deep copy"
- Load ascii files
- Numpy reference guide
- Exercises
- FITS File Format
- Read FITS file using astropy
- Convenience Functions
- modify an existing header
- Creating a new FITS image
- WCS
- Simple plot
- Save the figure
- lines
- subplots
- images
- scatter plot
- histogram
- Exercises
- The astropy project
- Quantities and units
- Constants
- Coordinates
- Tables
- Polynomials with numpy
- The astropy.modeling Package
- Fitting models using astropy
- The RGB slope - metallicity relation (Valenti et al. 2004)
- Download data from vizier
- Use one cluster as a test case
- put it all togheter in a function
- iterate on all obects
- The astroquery package
- Retrieve images from SkyView
- Retrieve complete catalogs from Vizier
- Query a sky region from a Vizier catalog
astromundus2017_python's People
Contributors