Commit 47370502 authored by Francesco Montanari's avatar Francesco Montanari

Merge branch 'devel'

* devel:
  Fix docs
parents 9a18e7bd 412d28db
......@@ -54,9 +54,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* Download
The source code can be downloaded from the [[https://gitlab.com/montanari/cosmo-el][git repository page]].
Downloaded the source code from the [[https://gitlab.com/montanari/cosmo-el][git repository page]].
Alternatively, the git repository can be cloned:
Alternatively, clone the git repository:
#+BEGIN_SRC shell
git clone git@gitlab.com:montanari/cosmo-el.git
#+END_SRC
......@@ -87,7 +87,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* Usage
Open Emacs and type =M-x cosmo-command= (the notation =M-x=
means that the =ALT= and =x= keys should be pressed
means that the =ALT= and =x= keys must be pressed
simultaneously), where the =command= name varies depending on
the desired computation:
......@@ -142,6 +142,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
internal implementation details (e.g., the precision of
numerical integrals), under the =Cosmo= group.
To interrupt an ongoing computation press =C-g=.
* Support
Bugs and issues are tracked through the [[https://gitlab.com/montanari/cosmo-el][git repository page]]. Please
......@@ -149,8 +151,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* Contributing
Contributions can be submitted as patches. See [[http://orgmode.org/worg/org-contribute.html#patches][this page]] for an
example of good patches contributions.
Please see [[http://orgmode.org/worg/org-contribute.html#patches][this page]] for a good example of patches
contributions.
More substantial contributions should proceed through git
[[https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows][Integration-Manager Workflow]]. In short: fork the repository, do
......
......@@ -3,6 +3,7 @@
;; Copyright (C) 2017 Francesco Montanari
;;
;; Author: Francesco Montanari <fmnt@fmnt.info>
;; Maintainer: Francesco Montanari <fmnt@fmnt.info>
;; Created: 22 April 2017
;; Version: 0.1
;; Keywords: tools
......@@ -25,13 +26,13 @@
;;; Commentary:
;; This package provides a cosmological calculator Lambda-CDM
;; This package provides a cosmological calculator for Lambda-CDM
;; models. Such a framework describes a homogeneous and isotropic
;; universe containing a cosmological constant (Lambda) and a Cold
;; Dark Matter (CDM) component, besides ordinary species. The
;; model is characterized by the following parameters:
;;
;; - H_0 :: Hubble parameter (expansion rate) today
;; - H_0 :: Hubble parameter (expansion rate) today.
;; - Omega_m0 :: Matter density parameter today.
;; - Omega_Lambda :: Cosmological constant density parameter.
;; - Omega_r0 :: Relativistic species (e.g., photons plus
......@@ -175,7 +176,7 @@ Important constants
(cosmo--check-param key (gethash key cosmo--params)))
cosmo--params))
;;; Numerical utilities. (May be replaced by calling calc-eval.)
;;; Numerical utilities.
(defun cosmo-sinh (x)
"Hyperbolic sine of real arguments X."
......@@ -400,15 +401,15 @@ Argument ANGULAR-DIST angular diameter distance at given redshift."
;; Cosmological functions.
(insert "Cosmography at required redshift\n"
"--------------------------------\n"
(format "- Hubble parameter [km/s/Mpc]: %s\n"
(format "- Hubble parameter [km/s/Mpc]: %s\n"
hubble)
(format "- Line-of-sight comoving distance [Mpc]: %s\n"
(format "- Comoving distance (line-of-sight) [Mpc]: %s\n"
los-dist)
(format "- Transverse comoving distance [Mpc]: %s\n"
(format "- Comoving distance (transverse) [Mpc]: %s\n"
transverse-dist)
(format "- Angular diameter distance [Mpc]: %s\n"
(format "- Angular diameter distance [Mpc]: %s\n"
angular-dist)
(format "- Luminosity distance [Mpc]: %s\n"
(format "- Luminosity distance [Mpc]: %s\n"
luminosity-dist))
nil)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment