DOKK / manpages / debian 12 / gnuastro / astcosmiccal.1.en
COSMICCALCULATOR(1) User Commands COSMICCALCULATOR(1)

CosmicCalculator - estimate cosmological values

astcosmiccal [OPTION...]

CosmicCalculator is part of GNU Astronomy Utilities 0.19. CosmicCalculator will do cosmological calculations. If no redshfit is specified, it will only print the main input parameters. If only a redshift is given, it will print a table of all calculations. If any of the single row calculations are requested, only their values will be printed with a single space between each.

For more information, please run any of the following commands. In particular the second contains a very comprehensive explanation of CosmicCalculator's invocation: expected input(s), output(s), and a full description of all the options.

$ astcosmiccal -P
$ info astcosmiccal
$ info CosmicCalculator
$ info gnuastro

If you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. For more information, please run:

$ info help-gnuastro

CosmicCalculator options:

Input:
Current expansion rate (Hubble constant).
Current cosmological cst. dens. per crit. dens.
Current matter density per critical density.
Redshift from line and observed wavelength.
Current radiation density per critical density.
Velocity of interest in km/s.
Redshift of interest.
Basic cosmology calculations
Conversion to absolute magnitude (no unit).
Angular diameter distance (Mpc).
Look back time to z (Ga: Giga Annum).
Critical density at z (g/cm^3).
Critical density now (g/cm^3).
Proper distance to z (Mpc).
Used redshift in this run.
Age of universe at z (Ga: Giga Annum).
Age of universe now (Ga: Giga Annum).
Luminosity distance to z (Mpc).
Tangential dist. covered by 1arcsec at z (kpc).
Distance modulus at z (no units).
Comoving volume (4pi str) to z (Mpc^3).
Used velocity (in km/s) for this run.
Spectral lines
Wavelength of line (name or wavelength) at z.
List known lines and rest frame wavelength.
List known spectral lines at given redshift.
Operating modes:
-?, --help
give this help list
List all config files and variables read.
BibTeX citation for this program.
Read configuration file STR immediately.
Do not parse any more configuration files.
Min. bytes to avoid RAM automatically.
Only run if the program version is STR.
Print parameter values to be used and abort.
Don't print mmap'd file's name and size.
Set default values for this directory and abort.
give a short usage message
Set default values for this user and abort.
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/

Report bugs to bug-gnuastro@gnu.org.

Copyright © 2015-2022 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Written/developed by Mohammad Akhlaghi

The full documentation for CosmicCalculator is maintained as a Texinfo manual. If the info and CosmicCalculator programs are properly installed at your site, the command

info CosmicCalculator

should give you access to the complete manual.

October 2022 GNU Astronomy Utilities 0.19