/manga_rc_tuto

MaNGA Rotation Curve Plot Tutorial

Primary LanguageJupyter Notebook

Tutorial: Plot Galaxy Rotation Curve with MaNGA data

Author: Haeun Chung (haeunchung@email.arizona.edu)

Last update: May 17, 2022

Required packages

  • NUMPY: v1.22.3
  • SCIPY: v1.8.0
  • MATPLOTLIB: v3.5.2
  • ASTROPY: v5.0.4
  • PPXF: v8.0.2 ()

INSTALLATION:

For Python beginners or Windows users

  1. Download and install the latest Anaconda distribution (64bit, Python 3.6 version) from here: https://www.anaconda.com/download/
  2. Download tutorial code.
  • Windows:
    • Download this repository by clicking "Clone or Download" - "Download ZIP" in this page
    • Unzip the downloaded ZIP file. (Recommended directory for Windows users: Documents)
  • Mac/Linux with terminal:
    • execute below commands
      git clone https://github.com/astrohchung/manga_rc_tuto.git
      cd manga_rc_tuto
      
  1. Run Jupyter Notebook. Check this link: https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/execute.html
  2. Open "manga_rc_tuto.ipynb" jupyter notebook file.

For Python intermediates and experts

  1. Update Numpy, Scipy, and Matplotlib packages. If possible, run this tutorial in a new test environment is recommended. Google 'conda new environment'
  2. Install Astropy, if not installed. Astropy install instruction: https://astropy.readthedocs.io/en/v0.3/install.html
  3. Install Git, if not installed. Git install instruction: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
  4. execute below commands.
  5. Run Jupyter Notebook. Check this link: https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/execute.html
  6. Open "manga_rc_tuto.ipynb" jupyter notebook file.