Coder Social home page Coder Social logo

adrita-khan / astromundus2017_python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marcogullieuszik/astromundus2017_python

0.0 0.0 0.0 7.43 MB

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
  • Classes
  • 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

marcogullieuszik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.