gals/
ajs_vmax.pro
Calculate Vmax given galaxy data and limits
Routines
result = ajs_vmax_zminmax_mag(z, dm_k, var, table_row)
Return zminmax for magnitudes
result = ajs_vmax_zminmax_sb(z, kc, var, table_row)
Return zminmax for surface brightness
result = ajs_vmax_zminmax_rad(z, d_a, var, table_row)
Return zminmax for radius
result = ajs_vmax_zminmax(z, dm_k, kc, d_a, var, table_row)
Return the minimum and maximum redshifts at which the galaxy would be visible
result = ajs_vmax(table, vars [, zmin=zmin] [, zmax=zmax] [, area=area], q0=q0, q1=q1 [, z_min_limited_by=z_min_limited_by] [, z_max_limited_by=z_max_limited_by] [, v=v])
Calculate Vmax given galaxy data and limits
Routine details
topajs_vmax_zminmax_mag
result = ajs_vmax_zminmax_mag(z, dm_k, var, table_row)
Return zminmax for magnitudes
Parameters
- z
- dm_k
- var
- table_row
topajs_vmax_zminmax_sb
result = ajs_vmax_zminmax_sb(z, kc, var, table_row)
Return zminmax for surface brightness
Parameters
- z
- kc
- var
- table_row
topajs_vmax_zminmax_rad
result = ajs_vmax_zminmax_rad(z, d_a, var, table_row)
Return zminmax for radius
Parameters
- z
- d_a
- var
- table_row
topajs_vmax_zminmax
result = ajs_vmax_zminmax(z, dm_k, kc, d_a, var, table_row)
Return the minimum and maximum redshifts at which the galaxy would be visible
Parameters
- z
- dm_k
- kc
- d_a
- var
- table_row
topajs_vmax
result = ajs_vmax(table, vars [, zmin=zmin] [, zmax=zmax] [, area=area], q0=q0, q1=q1 [, z_min_limited_by=z_min_limited_by] [, z_max_limited_by=z_max_limited_by] [, v=v])
Calculate Vmax given galaxy data and limits
Return value
vmax: in h^-3 Mpc^3
Parameters
- table in required
Array of structures with fields {coeffs:, z:} and columns for absolute values given in vars. Redshift z is optional: raises warning if outside observable limits.
- vars in required
Array of structures with fields {abs_name:} giving the column name in table corresponding to the absolute value, {band:} giving the name of the band, {type:} giving 'M'agnitudes, 'S'urface brightness or 'R'adius and {app_min:, app_max:} giving the limits.
Keywords
- zmin in optional
Minimum redshift. Default = min(table.z) or 0
- zmax in optional
Maximum redshift. Default = max(table.z) or 2
- area in optional
Area of survey in square degrees. Default whole sky.
- q0
- q1
- z_min_limited_by out optional
Number of galaxies with minimum redshift limited by each of the variables, or by zmin
- z_max_limited_by out optional
Number of galaxies with maximum redshift limited by each of the variables, or by zmax
- v out optional
Volume, as in V/Vmax, for each galaxy
Author information
History: |
7 Mar 2008 Created, Anthony Smith 25 Jul 2008 Added v keyword (V/Vmax), AJS 8 Aug 2008 Doesn't attempt V/Vmax when table.z does not exist |
File attributes
Modifcation date: | Fri Aug 8 17:30:47 2008 |
Lines: | 307 |
Docformat: | rst rst |