A new version of GLASS has been released. The release
note is copied below or online:
https://glass.readthedocs.io/en/v2023.2/manual/releases.html
-- N.
2023.2 (1 Mar 2023)
-------------------
* New user functions glass.user.save_cls() and glass.user.load_cls() to
save and load angular power spectra in the GLASS format.
* Some type hints were added to library functions. These are mostly
perfunctory at this time, but there is interest in adding proper
typing support in the future, including use of the Array API.
* The glass.matter module was removed in favour of the more
appropriately-named glass.shells module for shell definitions.
* Instead of using an array of shell boundaries and separate
MatterWeights, shells are now entirely defined by a
glass.shells.RadialWindow window function.
* Many functions have an improved interface thanks to the previous
point:
* The glass.math.restrict_interval function has been replaced
by glass.shells.restrict(), as shells are now defined by window
functions instead of sharp intervals.
* The glass.points.effective_bias() function now takes a window
function as input and computes its effective bias parameter.
* The glass.galaxies.constant_densities and density_from_dndz
functions have been removed, since densities can now easily be
partitioned by window functions using glass.shells.restrict() and
glass.shells.partition().
* The zmin and zmax parameters of glass.galaxies.redshifts_from_nz
have been removed for the same reason.
* The glass.lensing.multi_plane_weights function, which computed
all lensing weights at once, is replaced by the add_window method
of glass.lensing.MultiPlaneConvergence, which adds a convergence
plane given by a RadialWindow at its effective redshift.
* The glass.lensing.multi_plane_matrix() function now takes a sequence
of RadialWindow. It no longer returns the list of source redshifts,
since these are now independently available as the effective
redshifts of the windows.
* The arguments of the MultiPlaneConvergence method add_plane have been
renamed to zsrc and wlens from the more ambiguous z and w (which
could be confused with “window”). The properties z and w that
returned these values have been similarly changed.
--
Nicolas Tessore
Dept of Physics & Astronomy
University College London
########################################################################
To unsubscribe from the GLASS list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=GLASS&A=1
This message was issued to members of www.jiscmail.ac.uk/GLASS, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/
|