Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: glass 2023.7 #123

Merged
merged 1 commit into from
Aug 1, 2023
Merged

REL: glass 2023.7 #123

merged 1 commit into from
Aug 1, 2023

Conversation

ntessore
Copy link
Collaborator

@ntessore ntessore commented Aug 1, 2023

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.

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.
@ntessore ntessore merged commit c9a816d into main Aug 1, 2023
9 checks passed
@ntessore ntessore deleted the rel/v2023.7 branch August 1, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant