From c9a816dbbee8bccf8f9da5430fbb59e104c62f6d Mon Sep 17 00:00:00 2001 From: Nicolas Tessore Date: Tue, 1 Aug 2023 13:36:46 +0100 Subject: [PATCH] REL: glass 2023.7 (#123) 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. --- CHANGELOG.md | 19 +++++++++++++++++++ docs/manual/releases.rst | 24 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7ac3d1e..a9473447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) ----------------------- @@ -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 diff --git a/docs/manual/releases.rst b/docs/manual/releases.rst index dd7d3114..1d9a1f27 100644 --- a/docs/manual/releases.rst +++ b/docs/manual/releases.rst @@ -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) --------------------