Cobaya

Latest version: v3.5.4

Safety actively analyzes 688126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

3.4

General

- Python 3.12 support (removed all dependence on distutils)
- Improved `.products()` method for samplers (MCMC and PolyChord) and post-processing: samples can now retrieved simultaneously for all MPI processes, and converted to GetDist. Also added `.samples()` methods to retrieve just the samples.

Collections

- Created a general `load_samples` function to load Cobaya results natively or as GetDist MCSamples.
- Collections are now aware of whether they are part of a parallel batch, and warn if trying to reweight/detemper individually (fixes 321).
- Fixed a bug with overzealous checks when loading samples (306, thanks mishakb for reporting).

MCMC

- Fixed a bug with mpi runs partly stalling when run with many chains (308, thanks vivianmiranda lukashergt for reporting and testing).
- When `oversample_thin` is used, avg thinned weights now reported instead of acceptance rate (310, thanks vivianmiranda for reporting)

Cosmology

BAO

- Added 1-d grid LSS likelihood and BAO-only ELG and QSO (PR 266; thanks msyriac)

CLASS

- Updated manual installation instructions and fixed some dependencies.
- Made more derived parameters available, and documented how to access even more.
- Fixed 292: wrong normalization for the Cl cross-spectra (thanks carlosggarcia)

3.3.2

General

- Class instance methods can now be used as external likelihoods.
- Fix _prior_tries_warning bug
- Fix over-stringent temperature test reading in chains

PolyChord

- `products` method revamped; can produce GetDist chains directly.

Cosmology

- updated CAMB min version to 1.5, fixing bug with Cobaya sampling
- cobaya-install cosmo now installs set of Planck NPIPE (PR4) python likelihoods
- added planck_2018_lowl.EE_sroll2 low-E Planck likelihood
- added startup warning if initial points are very over-dispersed compared to the proposal covariance
- Requesting CAMBdata from camb now a copy for exact initial power spectrum/non-linear model
- CAMB now supports using sigma8 as an input parameter (thanks tilmantroester)

3.3.1

- Updates for Pandas 2 compatibility
- Fixed bug in MCMC oversampling and simplified proposal code (288) (thanks JiangJQ2000)

3.3

General

- Minimum Python version updated to 3.8
- `Prior.bounds()` can now return bounds at particular confidence levels when passed `confidence<1`.
- `SampleCollection` slicing now allows for advanced pandas slicing, e.g. `samples[samples["param"] > value]`.
- Fixed bug when setting reference pdf in MPI runs (thanks schoeneberg!)
- Components in yaml files referring to external Python modules can now give `package_install` settings to specify whether installed from pip, github or URL when cobaya-install is run.
- Fix for `post` when likelihoods return different number of derived parameters (285) (thanks zhaoruiyang98)

MCMC

- Added tempered sampling.
- `products` method revamped; can produce GetDist chains directly.

Cosmology

- Replaced default planck_2018_lowl.EE and planck_2018_low.TT with native versions, and using GitHub-hosted clik version.
- Updated planck likelihoods to all load calibration parameter from same yaml
- Removed clik version of planck 2018 CamSpec, defaults to native (avoids inconsistent calibration parameter naming)
- GUI inclues latest NPIPE fully Python likelihood configuration

3.2.2

General

- Deprecated `debug_file` in input, in favour of `debug: [filename]`.
- `Prior` now has method `set_reference`, to update the reference pdf's if needed (MPI-aware).
- Warning for stuck chains not more tolerant of many fast prior rejections
- Environment variables supported in input .yaml files, and {YAML_ROOT} placeholder for paths.
- Improved error messages for .yaml boolean options and install logs
- Fixes for max_tries .inf and old version checks
- fix for 'KeyError: _manual' bug caused by unmet requirements. 275 (thanks HTJense)

Cosmology

- Added CAMBspec NPIPE Planck 2020 likelihood (271) ) (thanks earosenberg)
- Added native version of `planck_2018_lowl.EE`.
- Added native version of `planck_2018_low.TT`. (thanks eirikgje)
- Added links to external likelihoods Planck PR4 Lensing, pyWMAP.
- GUI now support PySide6
- Fixed bug in BAO likelihood (250, thanks Pablo-Lemos)
- Added files for the BAO DR12 and DR16 LRG likelihoods (PR 235; thanks markm42)
- Test updates for CAMB 1.4 with updated constants, BBN model and neutrino nnu=3.044

3.2.1

General

- Fixed PyPI installation error (thanks Paul Shah!).
- Cleaner logging and better advice and error messages for missing component requirements.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.