Astronomical Data Analysis Using Python: Yogesh Wadadekar
Astronomical Data Analysis Using Python: Yogesh Wadadekar
Lecture 1
Yogesh Wadadekar
NCRA-TIFR
Nov-Dec 2021
Figure: Dr. Kaustubh Vaghmare (left) and Dr. Preetish K. Mishra (right)
https://realpython.com/installing-python/
The above webpage provides detailed instructions on installing Python
on Linux, Windows, and Mac-OSX. We do not have the resources to
troubleshoot installation problems. Use online resources or consult a
local expert if you face difficulties.
If you don’t have Python installed, please spend the next few days to
get it working on your machine.
Installing Python on your computer will give you the maximum and
power and flexibility. However, if you are unable to install it for some
reason, you can create online Jupyter notebooks using Google Colab
at:
https://colab.research.google.com/
You can use Google Drive to save any notebooks you create with
Google Collab. You can even load the notebooks for this course into
Google Colab and then modify and run them there.
For data analysis of large datasets, you will need a local installation.
Credit: naukri.com
www.python.org
www.python.org
Start with the Python tutorial - http://docs.python.org/tutorial/ we
will cover all of it and more in this course.
www.python.org
Start with the Python tutorial - http://docs.python.org/tutorial/ we
will cover all of it and more in this course.
SciPy conferences - http://conference.scipy.org - lots of interesting
talks (many with video versions)
www.python.org
Start with the Python tutorial - http://docs.python.org/tutorial/ we
will cover all of it and more in this course.
SciPy conferences - http://conference.scipy.org - lots of interesting
talks (many with video versions)
Also check out the variety of excellent Python programming
courses on coursera and eDx. Lots of good videos on YouTube
www.python.org
Start with the Python tutorial - http://docs.python.org/tutorial/ we
will cover all of it and more in this course.
SciPy conferences - http://conference.scipy.org - lots of interesting
talks (many with video versions)
Also check out the variety of excellent Python programming
courses on coursera and eDx. Lots of good videos on YouTube
Stack Overflow is a very useful question and answer website for
all your Python questions
http://python.fossee.in also has a number of tutorials.
$ ipython3
Python 3.9.7 (default, Sep 10 2021, 14:59:43)
Type ’copyright’, ’credits’ or ’license’ for more
information
IPython 7.20.0 - An enhanced Interactive Python.
Type ’?’ for help.
In [1]:
Ipython is the shell for astronomy analysis packages - casapy and
Pyraf.
Demo
Credit: zappable.com
Yogesh Wadadekar (NCRA-TIFR) IUCAA-TLC Python course 27 / 30
The Zen of Python, by Tim Peters import this
Credit: XKCD
Yogesh Wadadekar (NCRA-TIFR) IUCAA-TLC Python course 30 / 30