Hmf

Latest version: v3.5.0

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

Scan your dependencies

Page 3 of 12

3.1.0

-----
**Notes**

New versions of CAMB (1.0.0+) seem to run significantly slower by default than previous
versions. This could just be a setting in CAMB that has changed its default. Be aware
of this.

**Features**

- Added new ``CambGrowth`` growth factor model, which computes the growth using CAMB. This is useful especially when
using w > -1, for which the other growth factor models are inadequate. Solves issue 19 raised by tijmen.
- Added new module ``mass_definitions`` which more robustly deals with various halo mass definitions, and also includes
ability to convert mass functions between different definitions.
- New set of tutorials: quickstart/first plot and a broad overview.
- Added shortcuts to ``halo_overdensity_mean`` and ``halo_overdensity_crit``
- Added ``normalized_filter`` to ``MassFunction`` class to make it easier to use a filter
with a pre-normalized power spectrum.
- Added ``.clone()`` method to all ``Framework`` classes, which gives ability to clone
the current instance (while also changing some parameters).

**Bugfixes**

- When using camb for the transfer function, some cosmologies would lead to a segfault (i.e. when Ob0 or Tcmb0 are not
set explicitly). This now raises a helpful error.
- Fixed bug in ordering of iterator in ``get_hmf``.

**Internals**

- Removed logging, which was redundant.
- Moved from nose to pytest
- Significant overhaul of package structure to more modularised form.
- Added flake8 checks and black formatting
- Moved away from git-flow as it is not easy to use with GitHub.

3.0.8

------------------------
**Bugfixes**

- Some documentation and CI fixes.

**Enhancement**

- Added ``get_dependencies`` method to _Framework, to enable finding all parameters that
a quantity depends on.
- Growth factor speed-up (thanks to jlashner)
- Added use_splined_growth argument (thanks to jlashner)

3.0.7

------------------------
**Bugfixes**

- Fixed bugs in WDM models that remained from previous versions.
- Fixed bug in SharpK Ellipsoid filter following previous API change.

3.0.5

------------------------
**Bugfixes**

- Fixed naming of WDM ``alter_dndm`` to ``alter_model`` to be consistent.
- Fixed bug which made CAMB transfer function not pickleable or copyable.

.. note:: the fix is not perfect -- if you provide a custom CAMBparams class
to ``transfer_params``, it is not certain that results will be consistent,
as a few of the attributes of this object are not pickleable, and thus
are ignored.

3.0.3

---------------------
**Bugfixes**

- Fixed usage of deprecated MsolMass in wdm
- Fixed Bhattachrya fitting function (thanks to Benedikt Diemer!)
- Fixed typo in Watson fitting function (thanks to Benedikt Diemer!)
- Update cosmo test to use new Astropy constants.
- Fixed issue with sampling function where zeros in ngtm would yield an error.

3.0.2

---------------------
**Bugfixes**

- Changed parameter checks on instantiation to post-conversion.

Page 3 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.