COSMICCALCULATOR(1)
π« COSMICCALCULATOR(1) β User Commands π«
okay bestie, buckle up, this is CosmicCalculator, one of the little legends from GNU Astronomy Utilities 0.24, and she's here to do your cosmological calculations for you. no cap.
β¨ NAME β¨
CosmicCalculator β estimate cosmological values π¦
β¨ SYNOPSIS β¨
astcosmiccal [OPTION...]
β¨ DESCRIPTION β¨
so like, CosmicCalculator is part of GNU Astronomy Utilities 0.24 π and she does cosmological calculations. periodt.
here's the tea on how she behaves:
- if no redshift is specified, she will only print the main input parameters.
- if only a redshift is given, she will print a table of all the calculations.
- if any of the single row calculations are requested, only their values will be printed, with a single space between each one. no frills, just numbers.
for more info, pls run any of these commands. and like, the second one is the main character here β it contains a very comprehensive explanation of CosmicCalculator's invocation: expected input(s), output(s), and a full description of all the options. iykyk π
All options and their values:
$ astcosmiccal -P
Inputs/Outputs and options:
$ info astcosmiccal
Full section in manual/book:
$ info CosmicCalculator
Full Gnuastro manual/book:
$ info gnuastro
and if you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. for more info, pls run:
$ info help-gnuastro
CosmicCalculator options π
β¨ OPTIONS β¨
πΈ Input:
-H,--H0=FLTβ current expansion rate (Hubble constant). π«-l,--olambda=FLTβ current cosmological cst. dens. per crit. dens.-m,--omatter=FLTβ current matter density per critical density.-O,--obsline=STR,FLTβ redshift from line and observed wavelength. π-r,--oradiation=FLTβ current radiation density per critical density.-y,--velocity=FLTβ velocity of interest in km/s. πββοΈ-z,--redshift=FLTβ redshift of interest.
π Basic cosmology calculations
-a,--absmagconvβ conversion to absolute magnitude (no unit).-A,--angulardiamdistβ angular diameter distance (Mpc).-b,--lookbacktimeβ look back time to z (Ga: Giga Annum). β³-c,--criticaldensityβ critical density at z (g/cm^3).-C,--criticaldensitynowβ critical density now (g/cm^3).-d,--properdistanceβ proper distance to z (Mpc). π-e,--usedredshiftβ used redshift in this run.-g,--ageβ age of universe at z (Ga: Giga Annum).-G,--agenowβ age of universe now (Ga: Giga Annum).-L,--luminositydistβ luminosity distance to z (Mpc). β¨-s,--arcsectandistβ tangential dist. for 1arcsec at z (physical kpc).-u,--distancemodulusβ distance modulus at z (no units).-v,--volumeβ comoving volume (4pi str) to z (Mpc^3). π«§-Y,--usedvelocityβ used velocity (in km/s) for this run.
π§ Spectral lines
-i,--lineatz=STR/FLTβ wavelength of line (name or wavelength) at z.--lineunit=STRβ unit ('angstrom','nm','microm'or'm').--listlinesβ list pre-defined lines at rest frame.--listlinesatzβ list pre-defined lines at the given redshift.
π Operating modes:
-?,--helpβ give this help list--checkconfigβ list all config files and variables read.--citeβ BibTeX citation for this program.--config=STRβ read configuration file STR immediately.--config-prefix=STRβ custom prefix of option names config files.--lastconfigβ do not parse any more configuration files.--minmapsize=INTβ min. bytes to avoid RAM automatically.--onlyversion=STRβ only run if the program version is STR.-P,--printparamsβ print parameter values to be used and abort.--quietmmapβ don't print mmap'd file's name and size.-S,--setdirconfβ set default values for this directory and abort.--usageβ give a short usage message-U,--setusrconfβ set default values for this user and abort.-V,--versionβ print program version
okay important note bestie: 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/
π REPORTING BUGS π
found a bug? not cute. report it to bug-gnuastro@gnu.org π
βοΈ COPYRIGHT βοΈ
Copyright Β© 2015-2025 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 π
π SEE ALSO π
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. π
and that's the whole vibe, bestie π¦ this was GNU Astronomy Utilities 0.24, dated November 2025 β slay, go compute some universe stuff πβ¨
π¦ where this page comes from
- epel 10: gnuastro 0.24-1.el10_3 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- epel 9: gnuastro 0.24-1.el9 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- nixos 26.05: gnuastro 0.24
- nixpkgs unstable: gnuastro 0.24
- ubuntu resolute: gnuastro 0.24-1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuastro 0.24-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms