• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LSSTDESC / CLMM / 2122
100%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2020 03:38PM UTC
Jobs 1
Files 18
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2122

push

travis-ci

web-flow
Issue/293/cosmology object (#311)

* first stab at cosmology class structure

* filling in blanks

* change cosmo API to use __getitem__

* add  __setitem__ to cosmo

* First working version for CLMMCosmology and its implementation for each backend (issue #293).

- Split the CLMMCosmology implementations. Now they can be found in the backend file.
- Updated all functions/methods in modeling to have units of solar mass and Mpc, removed all h (issue #292).
- Updated constants to CODATA 2018 + IAU 2015 recommendations.
- Removed cluster_toolkit patches file, now everything stays in cluster_toolkit.py. Deleted test_cluster_toolkit_patches.py.
- pytest running and working on all backends.
- Updated modeling_cmp_numcosmo.ipynb and the tests text files. Old files kept with _old_units suffix.

* Workaround pycairo install problem.

* Better pycairo version for travis.

* Added the abstract classes CLMMCosmology and CLMMModeling to docs.

* New tests for the abstract classes. Included default implementation for get_da in CLMMCosmology. Moved _get_a|z_from_z|a to Cosmology.

* add docstrings to clmm_modeling

* rm import *

* Fixes #310.

* fix leftover of merge conflict

* add Cosmology directly to clmm

* Changed to import * since we are controling the import functions using the __all__ variables.

* Update mock_data for new units

* Update angular_distance in utils with updateed cosmology object method eval_da

* Update test_utils for new cosmo object

* Update Example1 with new cosmology

* Update Example2 with new cosmology

* Update Example2 (functional interface) with new cosmology

* Update demo_modeling (functional interface) with new cosmology

* Update demo_modeling (OO interface) with new cosmology

* Update demo_generate_mock_cluster with new cosmology

* Update Example3 with new cosmology

* Use cosmo.eval_da in mock_data

* Added the method get_desc to Cosmology to return a string represe... (continued)

528 of 528 new or added lines in 15 files covered. (100.0%)

927 of 1036 relevant lines covered (89.48%)

0.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
clmm/galaxycluster.py
1
100.0
clmm/modbackend/ccl.py
1
100.0
clmm/modbackend/cluster_toolkit.py
2
100.0
clmm/modeling.py
3
100.0
clmm/clmm_cosmo.py
3
100.0
clmm/polaraveraging.py
5
100.0
clmm/gcdata.py
8
100.0
clmm/modbackend/numcosmo.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
clmm/gcdata.py
4
100.0
clmm/modbackend/cluster_toolkit.py
4
100.0
clmm/modbackend/func_layer.py
Jobs
ID Job ID Ran Files Coverage
1 2122.1 23 Oct 2020 03:38PM UTC 0
89.48
Travis Job 2122.1
Source Files on build 2122
  • Tree
  • List 18
  • Changed 14
  • Source Changed 14
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #2122
  • c2c93ef9 on github
  • Prev Build on master (#2066)
  • Next Build on master (#2175)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc