Skip to content

Commit 9f23325

Browse files
authored
REL: glass 2024.1 (#165)
First GLASS release of 2024.
1 parent ab0936e commit 9f23325

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ All notable changes to the project are documented in this file. The format is
55
based on [Keep a Changelog](https://keepachangelog.com).
66

77

8+
[2024.1] (16 Jul 2024)
9+
-----------------------
10+
11+
### Added
12+
13+
* A new function `combine()` that evaluates the linear combination
14+
of radial window functions with given weights.
15+
* A new function `effective_cls()` which combines power spectra
16+
using a list of weights, which models what happens in the simulation.
17+
* A new function `position_weights()` that returns weights for
18+
`effective_cls()` to model the result of `positions_from_delta()`.
19+
* A new function `multi_plane_weights()` that returns weights for
20+
`effective_cls()` to model the result of `MultiPlaneConvergence`.
21+
* The `glass.core.algorithm` module.
22+
* The new `partition(method="nnls")` function computes a partition
23+
with non-negative contributions for each shell.
24+
* Function `redshifts()` to sample redshifts following a radial
25+
window function.
26+
27+
### Changed
28+
29+
* The default method for `partition()` is now `"nnls"`.
30+
* Both `partition(method="nnls")` and `partition(method="lstsq")`
31+
now have an additional integral constraint so that the sum of the
32+
partition recovers the integral of the input function.
33+
* The output of `partition()` now has the shells axis as its first.
34+
35+
### Fixed
36+
37+
* Now uses the updated intersphinx URL for the GLASS examples.
38+
* A bug in `effective_cls()` that caused arrays to be one entry too
39+
long if `lmax` was not given explicitly.
40+
* A bug in `partition()` with the default method.
41+
* `partition()` now works correctly with functions having extra axes.
42+
43+
844
[2023.7] (1 Aug 2023)
945
----------------------
1046

@@ -123,6 +159,7 @@ based on [Keep a Changelog](https://keepachangelog.com).
123159
- Initial wide release for GLASS paper
124160

125161

162+
[2024.1]: https://github.com/glass-dev/glass/compare/v2023.7...v2024.1
126163
[2023.7]: https://github.com/glass-dev/glass/compare/v2023.6...v2023.7
127164
[2023.6]: https://github.com/glass-dev/glass/compare/v2023.5...v2023.6
128165
[2023.5]: https://github.com/glass-dev/glass/compare/v2023.2...v2023.5

docs/manual/releases.rst

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,55 @@ Release notes
55
These notes document the changes between individual *GLASS* releases.
66

77

8+
2024.1 (16 Jul 2024)
9+
---------------------
10+
11+
* Further changes to the :func:`~glass.shells.partition()` function.
12+
13+
* The output of ``partition()`` now has the shells axis as its first. **This
14+
means that the new output is the transpose of the previous output.**
15+
16+
* A new ``partition(..., method="nnls")`` method that computes a partition
17+
with non-negative contributions for each shell. **This is now the
18+
default.** The ``"nnls"`` method works much better than ``"lstsq"`` since
19+
it does not introduce small negative densities, and should almost always be
20+
preferred.
21+
22+
* Both ``partition(method="nnls")`` and ``partition(method="lstsq")`` now
23+
have an additional integral constraint so that the sum of the partition
24+
recovers the integral of the input function.
25+
26+
* The ``partition()`` function now works correctly with functions having
27+
extra axes.
28+
29+
* A new function :func:`~glass.shells.combine()` that evaluates the linear
30+
combination of radial window functions with given weights. This function is
31+
the inverse of :func:`~glass.shells.partition()` and can be used to obtain
32+
the effect of the discretisation on, e.g., a redshift distribution.
33+
34+
* There is now a way to compute the effective angular power spectra that can
35+
be expected from a *GLASS* simulation, including all discretisations and
36+
approximations.
37+
38+
* A new function :func:`~glass.fields.effective_cls()` which combines power
39+
spectra using a list of weights. This function essentially models the
40+
linear combinations that happen in the simulation.
41+
42+
* A new function :func:`~glass.points.position_weights()` that returns weights
43+
for ``effective_cls()`` to model the result of
44+
:func:`~glass.points.positions_from_delta()`.
45+
46+
* A new function :func:`~glass.lensing.multi_plane_weights()` that returns
47+
weights for ``effective_cls()`` to model the result of
48+
:class:`~glass.lensing.MultiPlaneConvergence`.
49+
50+
* A new function :func:`~glass.galaxies.redshifts()` to sample redshifts
51+
following a radial window function. This should always be preferred to the
52+
existing :func:`~glass.galaxies.redshifts_from_nz()` function, since the
53+
redshift distribution entering the two-point statistics is in fact fixed by
54+
the window functions.
55+
56+
857
2023.7 (1 Aug 2023)
958
-------------------
1059

0 commit comments

Comments
 (0)