Geometrical definitions used by the code. See van der Marel & Cioni (2001), and van der Marel et al. (2002).
Fig 2, van der Marel et al. (2002)
Fig 3, van der Marel et al. (2002)
-
Line of nodes: intersection of the rotated galaxy plane (x', y', z') and the sky plane (x, y, z). Formally, it is the x' axis.
-
Position angle of the line of nodes (\Theta): counterclockwise rotation around the z axis, measured form the y axis (North). \Theta = \theta - 90ΒΊ, ie: \theta is measured from the x axis (West)
-
Inclination (i): clockwise rotation around the new x' axis. It is the angle between the (x, y)-plane of the sky and the (x', y')-plane of the galaxy disk.
Main function. Reads input data, obtains the angles for each method, and produces the final plots.
Read input data for both galaxies.
Reads all the parameters needed to process the data.
-
inc_PA_grid()
Define a grid of (i, theta) angles.
-
angles2Plane()
Convert each pair of (i, theta) angles to its "plane form": ax + by + c*z + d = 0.
-
gal_theta()
Convert position angle 'Theta' (N-->E) to 'theta' (W-->E).
-
Process all data.
-
dist2CloudCenter()
3D distance between cluster-galaxy center and its error, in parsec.
-
MCs_data()
Read fixed data for each galaxy (center, distance, error in distance.
-
dist_err_mag_2_pc()
Convert the error in distance modulus to an error, in parsec.
-
dist_err_2_pts()
Error for the cluster-galaxy center distances, in parsec.
-
-
dist_filter()
Filter clusters based on their projected angular distances ('rho').
-
get_rho_phi()
Projected angular distance cluster-galaxy center, and position angle of cluster.
-
-
i_PA_DeprjDist()
Deprojected distance values for each (i, PA) point in the defined grid.
-
get_deproj_dist()
-
vdm_2001_dep_dist_kpc()
Use Eq. (8) from van der Marel & Cioni (2001).
-
-
-
xyz_coords()
Coordinates of filtered clusters in the (x,y,z) system.
-
Methods
- m1_ccc_map
- ccc Concordance correlation coefficient between deprojected distances obtained using ASteCA's distances and the van der Marel's equations.
- interp_dens_map
- m2_fix_plane_perp_dist For each (i, theta) pair, calculate the mean of the perpendicular distances of all clusters to that plane.
- interp_dens_map
- m3_min_perp_distance
- perp_error
- interp_dens_map
- get_angles
Extract the best fit angles from all the (i, theta) values tested by
the methods 1 and 2. For method 3, call function below.
- angle_betw_planes Transform the (a, b, c, d) plane parameters for the best fit found by Method 3, into (i, theta) angles.
- ccc_sum_d_for_best_fit
- get_deproj_dist
- ccc
- perp_error
- monte_carlo_errors
- draw_rand_dep_dist
- draw_rand_dist_mod
- cov_ellipse
- m1_ccc_map
Produce final plots.
Subramanian & Subramaniam (2015) (SMC), Subramanian & Subramaniam (2010) (LMC)