@@ -5,6 +5,55 @@ Release notes
5
5
These notes document the changes between individual *GLASS * releases.
6
6
7
7
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
+
8
57
2023.7 (1 Aug 2023)
9
58
-------------------
10
59
0 commit comments