Skip to content

leamarcotulli/astr8300_rappture_lea_BS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

astr8300_rappture is a sample package for Astr8300 rappture projects

Bahcall-Soneira models tool

This tool has been developed for the final project for the Galactic Astronomy class, taught by prof. Bradley Meyer in Fall 2018, Clemson University.

Istructions

You will need a computer with rappture installed. If you do not have the software, follow the steps below.

  1. Make an account on Amazon AWS
  2. From the EC2 dashboard, click on 'AMIs' and, under the public images, launch the 'webnucleo' one (this instance will have rappture installed).
  3. Connect to the instance with "ssh -i "/path/to/key.pem" -X ubuntu@..."

Description of the tool

This tool is based on the paper from Bachall and Soneira (1980).
The goal of this rappture tool is to compute the distribution of stars of absolute magnitude M as a function of their distance from the Galactic Center (x) and their height above the plane (z).
Below, I will highlight the assumption behind the calculation. For a detailed description of the model, I refer the user to the actual paper.

The model

  1. The luminosity function of disk stars (i.e. the number of stars per pc3 per absolute visual magnitude, MV) is taken from the analytic function derived in Tremaine, Ostriker and Spitzer (1975):

    image (1)

    with n*=4.03x10-3, M*=+1.28, Mb=-6, Md=+19, α=0.74, β=0.04, 1/δ=3.40.

  2. The distribution of stars perpendicular to the plane of the Galaxies changes depending on their luminosity. Younger, more massive and brighter stars are found close to the plane, while older, less massive and fainter stars are more spread. The observed scale height (H) can be modeled by a trivial function which depends on MV (and well agrees with the observations):

    image (2)

  3. The star density variation in the disk (ρd) as a function of z can be approximated by:

    image (3)

  4. The star density variation in the disk (ρd) as a function of x can be approximated by:

    image (4)

    where r0 is the distance of the Sun for the Galactic Center (r0 = 8 kpc) and h is the scale lenght that varies with morphological type (h=3.5 kpc, De Vaucouleurs and Pence, 1978).

  5. Therefore, star density variation in the disk* ρd is the product of 3. and 4.:

    image (5)

  6. For the star density in the spheroidal component, assuming it is made of stars with MV > 6, an expansion (valid for r/re>0.2) is:

    image (6)

    where b=7.669, C is the normalization constant (taken as 1 for simplicity), re = r0/3 (De Vaucouleurs and Buta, 1978).

  7. Including the spheroidal component, the total distribution of stars in the galaxy is given by:

    image (7)

The tool input parameters

The input parameters shown in the left of the rappture GUI are:

  • Minimum (absolute visual) Magnitude (MMIN) and Maximum (absolute visual) Magnitude (MMAX). These will be used to compute the luminosity function and the scale height.
  • Single (absolute visual) Magnitude. This is the magnitude for which you want to calculate the density and spatial distribution.
  • Npoints (integer). This is the number of points in which you want to divide the coordinate space: longitude (l), latitude (b) and distance from the Sun (R).

The tool outputs

After you press 'Simulate', the tool will produce six graphs:

  • The luminosity function, calculated from MMIN to MMAX using equation (1)
  • Scale height, calculated from MMIN to MMAX using equation (2)
  • ρdperp vs. z, calculated for stars of magnitude M using equation (3)
  • ρdparall vs. x, calculated for stars of magnitude M using equation (4)
  • ρs vs. r, calculated for stars of magnitude M findinging the roots of equation (5) if M<6, or (7) if M>6

We note that for the last plot we find the root of equations (5) and (6) iterating for every M and every x over a range [-zMAX, +zMAX], where zMAX=1.e6 (arbitrary choice).

Authors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%