Galaxy_Models class which includes children Miyamaoto_Nagai_Hernquist and NFW_Hernquist

class astro_traj.galaxy.Galaxy_Models(Mspiral, Mbulge, Mhalo, R_eff, h, rcut)[source]

Bases: object

class astro_traj.galaxy.Hernquist_NFW(Mspiral, Mbulge, Mhalo, R_eff, h, rcut)[source]

Bases: astro_traj.galaxy.Galaxy_Models

CURRENTLY PREFERRED POTENTIAL Galaxy with Hernquist potential for stellar component and dark matter potential and NFW profile for dark matter

Paper References:
Hernquist 1990: http://adsabs.harvard.edu/abs/1990ApJ…356..359H
Ubulge is as in equation 5 in that paper
Navarro, Frenk, White 1996: http://adsabs.harvard.edu/abs/1996ApJ…462..563N
Uhalo corresponds to density profile in equation 3 in that paper. For explicit equation for this potential see, say, Naray et al 2009 Equation 1 (http://iopscience.iop.org/article/10.1088/0004-637X/692/2/1321/meta)

Methods

Ubulge(r) Bulge contribution to potential divided by system mass
Uhalo(r) Halo contribution to potential divided by system mass
Vdot(time, COORD) Vdot calculation using gradients of Uhalo and Ubulge
bulge(r_i, r) gradient of Ubulge
halo(r_i, r) gradient of Uhalo
Ubulge(r)[source]

Bulge contribution to potential divided by system mass

Uhalo(r)[source]

Halo contribution to potential divided by system mass

Vdot(time, COORD)[source]

Vdot calculation using gradients of Uhalo and Ubulge

bulge(r_i, r)[source]

gradient of Ubulge

halo(r_i, r)[source]

gradient of Uhalo

class astro_traj.galaxy.Miyamoto_Nagai_NFW(Mspiral, Mbulge, Mhalo, R_eff, h, rcut)[source]

Bases: astro_traj.galaxy.Galaxy_Models

DEVELOPMENT DOES NOT WORK Spiral Galaxy with disk and bulge potential from Miyamoto & Nagai 1975 and NFW profile for dark matter NOTE: This potential model is not working yet. We only have 1 measurement for the stellar mass component, not a separate bulge and disk mass Paper References:

Miyamoto and Nagai 1975: http://adsabs.harvard.edu/abs/1975PASJ…27..533M
Udisk, Ubulge are as in Equation 4 in that paper
Navarro, Frenk, White 1996: http://adsabs.harvard.edu/abs/1996ApJ…462..563N
Uhalo corresponds to density profile in equation 3 in that paper. For explicit equation for this potential see, say, Naray et al 2009 Equation 1 (http://iopscience.iop.org/article/10.1088/0004-637X/692/2/1321/meta)

Methods

Ubulge(r) Bulge contribution to potential divided by system mass
Udisk(r, z) Disk contribution to potential divided by system mass
Uhalo(r) Halo contribution to potential divided by system mass
Vdot(time, COORD) Vdot calculation using gradients of Ubulge, Udisk, and Uhalo
Ubulge(r)[source]

Bulge contribution to potential divided by system mass

Udisk(r, z)[source]

Disk contribution to potential divided by system mass

Uhalo(r)[source]

Halo contribution to potential divided by system mass

Vdot(time, COORD)[source]

Vdot calculation using gradients of Ubulge, Udisk, and Uhalo

class astro_traj.galaxy.Belczynski_2002(Mspiral, Mbulge, Mhalo, R_eff, h, rcut)[source]

Bases: astro_traj.galaxy.Galaxy_Models

Galaxy with Hernquist potential for stellar component and dark matter potential from Belczynski 2002

Paper References:
Hernquist 1990: http://adsabs.harvard.edu/abs/1990ApJ…356..359H
Ubulge is as in equation 5 in that paper
Belzcynski et al 2002: http://iopscience.iop.org/article/10.1086/339860/meta
Uhalo is as in equation 6 in that paper with cutoff at rcut such that Uhalo goes like 1/r for r>rcut

Methods

Ubulge(r) Bulge contribution to potential divided by system mass
Uhalo(r) Halo contribution to potential divided by system mass
Vdot(time, COORD) Vdot calculation using gradients of Uhalo and Ubulge
bulge(r_i, r) gradient of Ubulge
halo(r_i, r) gradient of Uhalo
Ubulge(r)[source]

Bulge contribution to potential divided by system mass

Uhalo(r)[source]

Halo contribution to potential divided by system mass

Vdot(time, COORD)[source]

Vdot calculation using gradients of Uhalo and Ubulge

bulge(r_i, r)[source]

gradient of Ubulge

halo(r_i, r)[source]

gradient of Uhalo