Skip to content

Commit

Permalink
REL: glass 2023.7 (#123)
Browse files Browse the repository at this point in the history
glass 2023.7 (1 Aug 2023)
-------------------------

* New radial window functions `linear_windows()` and `cubic_windows()`,
which correspond to linear and cubic spline interpolation of radial
functions, respectively. These are overlapping window functions, and it
has been difficult to obtain accurate matter power spectra so far.

* The `partition()` function now returns an array of weights to
approximate a given function by the window functions. This is necessary
to obtain an accurate fit of redshift distributions by overlapping
window functions. For example, to get the array of galaxy densities in
each shells from `dndz`, one would now do:

      ngal = partition(z, dndz, shells)

* A new function `getcl()` was added to return angular power spectra by
index from a list using GLASS ordering.

* The `gaussian_phz()` function now accepts bounds using `lower=` and
`upper=` keyword parameters.
  • Loading branch information
ntessore authored Aug 1, 2023
1 parent de77986 commit c9a816d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ All notable changes to the project are documented in this file. The format is
based on [Keep a Changelog](https://keepachangelog.com).


[2023.7] (1 Aug 2023)
----------------------

### Added

* Function `getcl()` to return angular power spectra by index from
a list using GLASS ordering.
* New `linear_windows()` and `cubic_windows()` window functions for
shells.

### Changed

* The `gaussian_phz()` function now accepts bounds using `lower=`
and `upper=` keyword parameters.
* The `partition()` function now returns an array of weights to
approximate the given function by the windows.


[2023.6] (30 Jun 2023)
-----------------------

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


[2023.7]: https://github.com/glass-dev/glass/compare/v2023.6...v2023.7
[2023.6]: https://github.com/glass-dev/glass/compare/v2023.5...v2023.6
[2023.5]: https://github.com/glass-dev/glass/compare/v2023.2...v2023.5
[2023.2]: https://github.com/glass-dev/glass/compare/v2023.1...v2023.2
Expand Down
24 changes: 24 additions & 0 deletions docs/manual/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ Release notes
These notes document the changes between individual *GLASS* releases.


2023.7 (1 Aug 2023)
-------------------

* New radial window functions :func:`~glass.shells.linear_windows()` and
:func:`~glass.shells.cubic_windows()`, which correspond to linear and cubic
spline interpolation of radial functions, respectively. These are
overlapping window functions, and it has been difficult to obtain accurate
matter power spectra so far.

* The :func:`~glass.shells.partition()` function now returns an array of
weights to approximate a given function by the window functions. This is
necessary to obtain an accurate fit of redshift distributions by overlapping
window functions. For example, to get the array of galaxy densities in each
shells from ``dndz``, one would now do::

ngal = partition(z, dndz, shells)

* A new function :func:`~glass.fields.getcl()` was added to return angular
power spectra by index from a list using GLASS ordering.

* The :func:`~glass.galaxies.gaussian_phz()` function now accepts bounds using
`lower=` and `upper=` keyword parameters.


2023.6 (30 Jun 2023)
--------------------

Expand Down

0 comments on commit c9a816d

Please sign in to comment.