1. 26 Aug, 2017 2 commits
    • Francesco Montanari's avatar
      Merge branch 'devel' · b684512a
      Francesco Montanari authored
      * devel:
        Complete age and lookback time
        Extend cosmic calculator
        Add age of the Universe
        Add lookback time
      b684512a
    • 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.
      bc9b6ea4
  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.
      60f5cbcc
    • 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).
      40a88af0
    • 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.
      9df07ef6
  3. 19 Aug, 2017 5 commits
  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.
      672a9e5a
    • 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.
      045c8d37
  5. 05 Aug, 2017 2 commits
  6. 30 Jul, 2017 3 commits
    • Francesco Montanari's avatar
      Merge branch 'devel' · 9a18e7bd
      Francesco Montanari authored
      * devel:
        Fix doc string
        Fix Simpson's rule
        Check convergence for Simpson's rule (commented code)
        Add an unit conversion
        Set cosmo-pedia text as a global variable
        Update README
      9a18e7bd
    • Francesco Montanari's avatar
      Fix doc string · fe89deee
      Francesco Montanari authored
      fe89deee
    • 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.
      4b8d3549
  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.
      3da5fec4
  8. 28 Jul, 2017 1 commit
  9. 25 Jul, 2017 1 commit
  10. 24 Jul, 2017 1 commit
  11. 23 Jul, 2017 4 commits
  12. 22 Jul, 2017 9 commits
  13. 20 Jul, 2017 1 commit
  14. 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.
      c45277f3
  15. 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.
      4e0bfcc9
  16. 04 Jun, 2017 2 commits
  17. 03 Jun, 2017 1 commit