Directory: gals/
.pro files
- ajs_angdidis.pro
- Return angular diameter distance to z 
- ajs_bbd_plot.pro
- This procedure produces a surface/contour plot of the bivariate brightness distribution (number of galaxies per unit volume as a function of absolute magnitude and surface brightness) 
- ajs_bbd_read.pro
- This procedure reads BBD (bivariate brightness distribution) data from a binary file created using ajs_bbd_write. 
- ajs_bbd_write.pro
- This procedure takes arrays describing the BBD (bivariate brightness distribution) and writes the data either to a binary file or to a text file. 
- ajs_choloniewski.pro
- This function generates a Choloniewski function along an input array of absolute magnitudes and surface brightnesses. 
- ajs_choloniewski_fit.pro
- This function finds the best-fitting Choloniewski function for input arrays of absolute magnitudes, surface brightness, phi and phi_err. 
- ajs_comdis.pro
- Return comoving distance to z, in Mpc 
- ajs_comvol.pro
- Return comoving volume out to redshift z (flat universe only) 
- ajs_distmod.pro
- Return distance modulus to z 
- ajs_dm_k.pro
- This function returns some combination of the distance modulus, K-correction and evolution correction for a galaxy at a redshift z. 
- ajs_double_choloniewski.pro
- This function generates a double Choloniewski function along an input array of absolute magnitudes and surface brightnesses. 
- ajs_double_choloniewski_fit.pro
- (NB: unlikely to be useful!) This function finds the best-fitting double Choloniewski function for input arrays of absolute magnitudes, surface brightness, phi and phi_err. 
- ajs_double_schechter.pro
- This function generates a double Schechter function (single value of M-star, but two values for alpha and phi-star) along an input array of absolute magnitudes. 
- ajs_double_schechter_fit.pro
- This function finds the best-fitting double Schechter function for a given array of absolute magnitudes, phi and phi_err (alpha_2 > alpha_1) 
- ajs_lf_plot.pro
- This procedure produces a plot of the luminosity function. 
- ajs_lf_read.pro
- This procedure reads LF (luminosity function) data from a binary file creaed using ajs_lf_write. 
- ajs_lf_write.pro
- This procedure takes arrays describing the LF (luminosity function) and writes the data either to a binary file or to a text file. 
- ajs_lookback_time.pro
- Return lookback time to z, in years 
- ajs_lumdis.pro
- Return Luminosity distance to z 
- ajs_number_counts.pro
- This procedure calculates the number counts from an input array of magnitudes or log(flux) 
- ajs_number_counts_plot.pro
- This procedure produces a plot of the number counts. 
- ajs_plot_radec.pro
- Plot ra and dec on equal-area plot 
- ajs_schechter.pro
- This function generates a Schechter function along an input array of absolute magnitudes. 
- ajs_schechter_fit.pro
- This function finds the best-fitting Schechter function for a given array of absolute magnitudes, phi and phi_err 
- ajs_vmax.pro
- Calculate Vmax given galaxy data and limits 
- ajs_vmax_bbd.pro
- This procedure calculates the 1/Vmax bivariate brightness distribution from input arrays of two quantities (e.g., absolute magnitude and surface brightness) and weights (e.g., 1/Vmax) 
- ajs_vmax_lf.pro
- This procedure calculates the 1/Vmax luminosity function from input arrays of absolute magnitude and weights (e.g., 1/Vmax) 
- ajs_vmax_ngals_multiplot_4d.pro
- This procedure provides a visualisation of a four-dimensional space density (number of galaxies per unit volume per unit A, B, C, D - absolute magnitudes, etc.). 
- ajs_zage.pro
- Convert redshift to age of Universe, in years 
![[attach.png]](../idldoc-resources/attach.png)