Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python for astronomers and astrophysics
Rating: 4.0 out of 5(77 ratings)
285 students

Python for astronomers and astrophysics

Python Astronomy
Created bySachin C
Last updated 7/2023
English

What you'll learn

  • Understand and apply basic physics and computational techniques to solve problems in astrophysics, and interpret the results.
  • Identify different astronomical objects
  • Realtime data of celestial bodies
  • Explore different libraries

Course content

1 section12 lectures1h 20m total length
  • Introduction0:22

    Explore astronomy with Python by learning to find exoplanets, plot distant objects, and handle astronomical images while solving astronomy problems.

  • Installing Jupyter Notebook4:53

    Install the individual edition of Anaconda, create a virtual environment with Navigator, install and launch Jupyter notebook, and start a Python project with a Python file.

  • Python basic calculator7:47

    Learn to perform basic Python math, including variables, arithmetic operations, exponentiation, and importing a numerical Python library to access pi, square roots, sine, cosine, exponential functions, logarithms, and complex numbers.

  • Numpy Array4:39

    Learn to create and manipulate NumPy arrays of integers, floats, complex numbers, and strings, initialize with zeros or ones, and perform simple vector operations and linear algebra.

  • Array function4:32

    Explore array creation with arange, linspace, and logspace, build a meshgrid for cartesian indexing, and evaluate cosine on generated points from zero to pi.

  • Python plot4:31

    Create a Python plot group with the Metro Python library, import data, plot x and y values, set axis limits, add labels, enable the grid, and adjust color.

  • Astropy units9:07

    Learn Astropy units to create and convert quantities with units, perform arithmetic, and handle magnitude and logarithmic units, using constants like gravitational constant and the speed of light with uncertainties.

  • Kepler's example5:13

    Learn to compute Earth's orbital period from Newtonian Kepler's law using the gravitational constant, the sun's mass, and the astronomical unit, with astropy units for time conversion.

  • Astropy coordinates10:42

    Learn to use the astropy coordinates package to create sky coordinates, convert between equatorial and galactic frames, add distance, and fetch coordinates by object name (e.g., m51, m41).

  • Astronomical FITS file9:01

    Read and plot an astronomical image from a FITS file, extract image data with numpy and astropy, and analyze min, max, mean, std, plus a histogram with a color map.

  • Gravitational wave with python9:06

    Explore gravitational waves with Python by installing GWpy, querying event datasets (Virgo, LIGO), and retrieving a specific event like GW150914. Then plot the strain amplitude from raw interferometer data.

  • Detecting exoplanet with python10:14

    Load Kepler target pixel data to build a light curve, plot flux over time, and identify the exoplanet period by folding the data.

Requirements

  • No programming experience needed. you will learn everything you need to know.

Description

Today the astronomy has evolved and grown at an unprecedented rate, particularly in the past decade. The use of Python is noticeably growing among the scientific community, and Astronomy. The power of Python consists of being an extremely versatile high-level language, easy to program that combines both traditional programming and data reduction and analysis tools Python is a great language for science and specifically for astronomy. In this course you will learn how to solve astronomical problems by using python like:-


· Finding exoplanets

· Plotting gravitational wave

· Handling astronomical image file

· Solving Kepler's problem

· Astronomical coordinates

· Astronomical Units

· Plotting Graph

· Python as a calculator

For this course no prior knowledge of python is required. You will also learn about the various python library packages such as numpy, scipy, matplotlib and astropy. To work with the astronomy mostly we will use astropy library. The Astropy project is committed to fostering an inclusive community. The community of participants in open source Astronomy projects is made up of members from around the globe with a diverse set of skills, personalities, and experiences. At the end of the course you will have an excellent understanding of python astronomy.

Requirements:

Computer with python installed

Passion to learn and grow

Who this course is for:

  • This course for the people who want to learn astronomy or astrophysics.
  • Willingness to learn.