Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 3.38 KB

CHANGELOG.md

File metadata and controls

111 lines (74 loc) · 3.38 KB

Changelog

All notable changes to the project are documented in this file. The format is based on Keep a Changelog.

2023.6 (30 Jun 2023)

Added

  • deflect() applies deflections to positions
  • from_convergence() returns other lensing fields given the convergence
  • A new glass.ext namespace, reserved for extensions

Changed

  • The glass module is no longer a namespace package
  • The point sampling functions positions_from_delta() and uniform_positions() now return an iterator
  • ellipticity_gaussian() and ellipticity_intnorm() accept array inputs
  • Use pyproject.toml for packaging

Deprecated

  • shear_from_convergence() is deprecated in favour of from_convergence()

Removed

  • The glass.all meta-module is no longer necessary

Fixed

  • Incorrect extrapolation in glass.core.array.trapz_product(), causing a bug in glass.points.effective_bias()

2023.5 (31 May 2023)

Added

  • Allow dimensional input to the sampling functions in glass.points (#80)
  • The redshifts_from_nz() function supports count arrays (#83)

Changed

  • Position sampling returns counts alongside points (#80)
  • redshifts_from_nz() no longer returns gal_pop (#83)
  • Move core functionality that is used by other, user-facing modules into the glass.core module (#88)

Removed

  • Remove profiling functions (#89)

2023.2 - 1 Mar 2023

Added

  • The glass.lensing.MultiPlaneConvergence.add_window method to add a convergence plane given by a window function.
  • The glass.shells module for shell definitions.
  • User functions to save and load Cls
  • This changelog added to keep track of changes between versions

Changed

  • Instead of an array of shell boundaries and MatterWeights, the shells are entirely defined by a RadialWindow window function.
  • The glass.lensing.multi_plane_matrix function now takes a sequence of window functions.
  • The arguments of glass.lensing.MultiPlaneConvergence.add_plane are called zsrc and wlens instead of the more ambiguous z and w. The properties MultiPlaneConvergence.z and MultiPlaneConvergence.w that return these values are similarly changed.
  • The glass.points.effective_bias now takes a single window function as input and computes its effective bias parameter.
  • Some type hints added to library functions

Removed

  • The glass.lensing.multi_plane_weights function, replaced by the glass.lensing.MultiPlaneConvergence.add_window method.
  • The glass.galaxies.constant_densities and density_from_dndz functions, since densities can now easily be partitioned by window functions for shells.
  • The zmin, zmax parameters of glass.galaxies.redshifts_from_nz, for the same reason.
  • The glass.math.restrict_interval function, as shells are now defined by window functions instead of sharp intervals.
  • The glass.matter module, in favour of the more appropriately-named glass.shells module.

2023.1 - 31 Jan 2023

Added

  • Initial wide release for GLASS paper