Skip to content

darykevin2/gd1_stream_plotting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GD-1 Stream Analysis

This repository contains Jupyter Notebooks for analyzing the GD-1 stellar stream using data from the Gaia mission and Pan-STARRS survey. The analysis includes querying the Gaia database, transforming coordinates, selecting candidate stars, and visualizing the results.

Notebooks Overview

1. 1BASIC_QUERY.ipynb

  • Outline: Demonstrates connecting to the Gaia server, exploring database tables, writing and sending queries, and downloading responses as Astropy Tables.
  • Key Steps:
    • Connecting to Gaia.
    • Exploring table metadata.
    • Writing and executing basic queries.
    • Handling asynchronous queries.

2. 2CORD_SYS.ipynb

  • Outline: Shows how to perform a cone search, convert coordinates between different frames, and select stars within a polygonal region.
  • Key Steps:
    • Defining and transforming coordinates.
    • Selecting a rectangular region in the GD-1 frame.
    • Assembling and executing ADQL queries.

3. 3PLOT1.ipynb

  • Outline: Reads data from a FITS file, transforms coordinates and proper motions, and visualizes the results.
  • Key Steps:
    • Reading and transforming data.
    • Reflex correction for proper motion.
    • Visualizing transformed coordinates.

4. 4PLOT_PROPER.ipynb

  • Outline: Selects stars near the centerline of GD-1, plots proper motion, and identifies candidate stars based on proper motion.
  • Key Steps:
    • Selecting stars near the centerline.
    • Plotting proper motion.
    • Filtering based on proper motion.

5. 5TRANS_PLOT.ipynb

  • Outline: Transforms proper motions, computes the convex hull of points, and writes ADQL queries for proper motion selection.
  • Key Steps:
    • Transforming proper motions.
    • Computing convex hull.
    • Assembling and executing ADQL queries.

6. 6JOIN.ipynb

  • Outline: Uses database JOIN operations to select photometry data for candidate stars in GD-1.
  • Key Steps:
    • Exploring Pan-STARRS tables.
    • Performing JOIN operations.
    • Selecting stars based on photometry.

7. 7PHOTOMETRY.ipynb

  • Outline: Uses isochrone data to specify a polygon and determine which points fall inside it, and customizes figure appearances using Matplotlib.
  • Key Steps:
    • Plotting photometry data.
    • Defining and using isochrones.
    • Customizing plots.

8. 8VISUALIZE.ipynb

  • Outline: Visualizes various aspects of the GD-1 stream using Matplotlib.
  • Key Steps:
    • Plotting CMD selection.
    • Plotting proper motion selection.
    • Adding shaded regions to plots.

Final.ipynb

  • Outline: Integrates all steps from previous notebooks to provide a comprehensive analysis of the GD-1 stream.
  • Key Steps:
    • Importing necessary libraries.
    • Reading and transforming data.
    • Visualizing results.

Acknowledgments

  • Data from the Gaia mission and Pan-STARRS survey.
  • Libraries: Astropy, Matplotlib, Pandas, Gala, and Astroquery.

About

Analysis of the GD 1 Stream of the Milky Way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published