1. 26 Aug, 2017 1 commit
    • Francesco Montanari's avatar
      Complete age and lookback time · bc9b6ea4
      Francesco Montanari authored
      * cosmo.el (cosmo-calculator): Remove age computation. It is much
        slower than other functions.
      * cosmo.el (cosmo-get-age): Integrate up to equality redshift.
      * test_cosmo.el, cosmo_compare.py: Test lookback-time and age.
      * README.org: Add age and lookback-time.
  2. 21 Aug, 2017 3 commits
    • Francesco Montanari's avatar
      Extend cosmic calculator · 60f5cbcc
      Francesco Montanari authored
      * cosmo.el (cosmo--write-calc, cosmo--write-calc-header,
        cosmo-calculator): Add lookback time and age of the Universe.
    • Francesco Montanari's avatar
      Add age of the Universe · 40a88af0
      Francesco Montanari authored
      * cosmo.el (cosmo--age-integrand, cosmo-get-age, cosmo-age): Add age
        of the Universe. So far it is approximated as the age since redshift
        1000. Integrating up to larger redshifts is time consuming and most
        likely useless. However, this should be generalized (it may be
        inconsistent for exotic cosmologies).
    • Francesco Montanari's avatar
      Add lookback time · 9df07ef6
      Francesco Montanari authored
      * cosmo.el (cosmo--lookback-time-integrand, cosmo-get-lookback-time,
        cosmo-lookback-time): Add lookback time.
  3. 19 Aug, 2017 3 commits
    • Francesco Montanari's avatar
      Expand cosmo-calculator · ffdd841c
      Francesco Montanari authored
      * cosmo.el (cosmo-calculator, cosmo--write-calc): Add parallax
        distance and comoving volume.
      * cosmo.el (cosmo--get-comoving-volume-nonflat): Remove free variable
        to avoid warning when byte-compiling. Use nested let instead.
    • Francesco Montanari's avatar
      Remove cosmo-pedia · 48eef127
      Francesco Montanari authored
    • Francesco Montanari's avatar
      Test comoving volume · 3ad25972
      Francesco Montanari authored
      * test_cosmo.el, cosmo_compare.py: Add tests for the comoving volumne.
      * cosmo.el: Minor docs updates.
      * README.org: Update docs.
  4. 15 Aug, 2017 2 commits
    • Francesco Montanari's avatar
      Add comoving-volume command · 672a9e5a
      Francesco Montanari authored
      * cosmo.el (cosmo-comoving-volume): Add interactive command for the
        comoving volume. Still need tests.
      * Fix doc strings.
    • Francesco Montanari's avatar
      Add parallax distance and comoving volume · 045c8d37
      Francesco Montanari authored
      * cosmo.el (cosmo-asinh): Inverse hyperbolic sine.
      * cosmo.el (cosmo-get-parallax-distance, cosmo-parallax-distance):
        Parallax distance.
      * cosmo.el (cosmo--get-comoving-volume-nonflat,
        cosmo-get-comoving-volume): Comoving volume. Still need to add
        interactive command and tests.
  5. 05 Aug, 2017 1 commit
  6. 30 Jul, 2017 2 commits
    • Francesco Montanari's avatar
      Fix doc string · fe89deee
      Francesco Montanari authored
    • Francesco Montanari's avatar
      Fix Simpson's rule · 4b8d3549
      Francesco Montanari authored
      * cosmo.el (cosmo--trapzd, cosmo-qsimp): Check Simpson's rule for
        convergence and stop if the desired accuracy is reached. The
        previous algorithm did't perform any convergence check. At low
        redshift z~1 numerical integrals are now about one order of
        magnitude faster, at large redshift z~1 one order of magnitude
        slower (but it is guaranteed to reach the desired accuracy).
      * cosmo.el (cosmo, cosmo-int-prec, cosmo-int-maxsteps): Define
        customization group to allow users to set numerical integrals
        precision variable through the `customize' command.
      * README.org: Explain how to customize variables.
  7. 29 Jul, 2017 1 commit
    • Francesco Montanari's avatar
      Check convergence for Simpson's rule (commented code) · 3da5fec4
      Francesco Montanari authored
      * cosmo.el (cosmo-trapzd, cosmo-qsimp): Adapt Simpson's rule to
        automatically check convergence. At similar accuracy, the code is
        about one order of magnitude slower than the previous
        implementation. Try to improve efficiency by replacing loops with
        more functional solutions. For the time being the newly added code
        is commented out, the old implementation is used.
  8. 25 Jul, 2017 1 commit
  9. 24 Jul, 2017 1 commit
  10. 23 Jul, 2017 3 commits
  11. 22 Jul, 2017 9 commits
  12. 20 Jul, 2017 1 commit
  13. 18 Jul, 2017 1 commit
    • Francesco Montanari's avatar
      Add command cosmo-pedia · c45277f3
      Francesco Montanari authored
      * cosmo.el (cosmo-pedia): Command to display fast reference to basic
        cosmological definitions. So far the relation among the main
        cosmological distances is defined.
  14. 10 Jul, 2017 1 commit
    • Francesco Montanari's avatar
      Add further distances · 4e0bfcc9
      Francesco Montanari authored
      * cosmo.el (cosmo-get-angular-diameter-distance,
        cosmo-angular-diameter-distance, cosmo-get-luminosity-distance,
        cosmo-get-luminosity-distance, cosmo-luminosity-distance,
        cosmo-get-hubble-time, cosmo-hubble-time): Add further distances
        from Hogg. The respective tests are not implemented yet.
  15. 04 Jun, 2017 2 commits
  16. 03 Jun, 2017 5 commits
  17. 25 May, 2017 1 commit
  18. 21 May, 2017 2 commits
    • Francesco Montanari's avatar
      Simplify summary header · 3d53fc09
      Francesco Montanari authored
      * cosmo.el (cosmo--write-calc-header): Suggest only how to quit in the
        header help. Before also the usage of SPC and DEL where
        suggested. However:
        - For advanced Emacs users the help is not necessary at all.
        - For beginners the DEL is misleading, since it refers to back-space
          (not to delete). However, using a different name would not be
          consistent with Emacs notation. Since users can scroll down also
          using arrows, the simpler more consistent solution is not to
          suggest DEL and, consequently, not to suggest SPC as well.
    • Francesco Montanari's avatar
      Add doc strings; fix minor points · a6debbbd
      Francesco Montanari authored
      * cosmo.el: Add `Bugs` and `Todo` sections.
      * cosmo.el: Quote functions as `#'` instead of `'`.