Skip to content

Commit e0647a7

Browse files
authored
REL: glass 2023.6 (#110)
glass 2023.6 (30 Jun 2023) -------------------------- - There is some support for simulating the deflections due to weak gravitational lensing: - The `deflect()` function applies deflections to positions. - The `from_convergence()` function returns one or more other lensing fields given the convergence. - The `shear_from_convergence()` function is deprecated in favour of `from_convergence()`. - The `glass` module is no longer a namespace package. The new `glass.ext` namespace is reserved for extensions instead. This is done to follow best practices, so that a bad extension can no longer break all of *GLASS* by mistake. The `glass.all` meta-module is no longer necessary. - The point sampling functions `positions_from_delta()` and `uniform_positions()` now return an iterator over points. This has lead to orders-of-magnitude improvements in memory use and performance when simulating galaxies at Euclid/LSST densities. - The ellipticity sampling functions `ellipticity_gaussian()` and `ellipticity_intnorm()` accept array inputs. - A bug causing incorrect results from `effective_bias()` has been fixed.
1 parent 57d686b commit e0647a7

File tree

3 files changed

+79
-4
lines changed

3 files changed

+79
-4
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@ All notable changes to the project are documented in this file. The format is
55
based on [Keep a Changelog](https://keepachangelog.com).
66

77

8+
[2023.6] (30 Jun 2023)
9+
-----------------------
10+
11+
### Added
12+
13+
- `deflect()` applies deflections to positions
14+
- `from_convergence()` returns other lensing fields given the convergence
15+
- A new `glass.ext` namespace, reserved for extensions
16+
17+
### Changed
18+
19+
- The `glass` module is no longer a namespace package
20+
- The point sampling functions `positions_from_delta()` and
21+
`uniform_positions()` now return an iterator
22+
- `ellipticity_gaussian()` and `ellipticity_intnorm()` accept array inputs
23+
- Use pyproject.toml for packaging
24+
25+
### Deprecated
26+
27+
- `shear_from_convergence()` is deprecated in favour of `from_convergence()`
28+
29+
### Removed
30+
31+
- The `glass.all` meta-module is no longer necessary
32+
33+
### Fixed
34+
35+
- Incorrect extrapolation in `glass.core.array.trapz_product()`, causing a bug
36+
in `glass.points.effective_bias()`
37+
38+
839
[2023.5] (31 May 2023)
940
-----------------------
1041

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

76107

108+
[2023.6]: https://github.com/glass-dev/glass/compare/v2023.5...v2023.6
77109
[2023.5]: https://github.com/glass-dev/glass/compare/v2023.2...v2023.5
78110
[2023.2]: https://github.com/glass-dev/glass/compare/v2023.1...v2023.2
79111
[2023.1]: https://github.com/glass-dev/glass/releases/tag/v2023.1

CONTRIBUTING.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,17 @@ one or more GitHub issue numbers:
6363
To indicate that the pull request shall close an open issue, use `Closes` and
6464
a single GitHub issue number:
6565

66-
Fixes: #17
66+
Closes: #17
67+
68+
Changelog entries are collected using the following trailers, and later parsed
69+
into the [changelog](CHANGELOG.md) for the next release:
70+
71+
Added: Some new feature
72+
Changed: Some change in existing functionality
73+
Deprecated: Some soon-to-be removed feature
74+
Removed: Some now removed feature
75+
Fixed: Some bug fix
76+
Security: Some vulnerability was fixed
6777

6878
You can use any of the other common git trailers. In particular, you can use
6979
`Cc` to notify others of your pull request via their GitHub user names:
@@ -87,9 +97,9 @@ Releasing
8797
To release a new version of *GLASS*, there should be a commit titled
8898
`REL: glass yyyy.mm` that includes the following changes:
8999

90-
* The current `Unreleased` section in the [changelog](CHANGELOG.md) is renamed
91-
to `yyyy.mm (DD Mon YYYY)` and a new "Unreleased" section is started. The
92-
links to changesets at the bottom of the file have to be updated accordingly.
100+
* The changelog trailers since the last release are parsed into the
101+
[changelog](CHANGELOG.md) under a section titled `[yyyy.mm] (DD Mon YYYY)`.
102+
A new link to the changeset is added at the bottom of the file.
93103
* The [release notes](docs/manual/releases.rst) are updated with the new
94104
version. The release notes should translate the changelog entries into
95105
prose that can be understood by non-developer users of the code. If there

docs/manual/releases.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@ Release notes
44

55
These notes document the changes between individual *GLASS* releases.
66

7+
8+
2023.6 (30 Jun 2023)
9+
--------------------
10+
11+
- There is some support for simulating the deflections due to weak
12+
gravitational lensing:
13+
14+
- The :func:`~glass.lensing.deflect` function applies deflections to
15+
positions.
16+
17+
- The :func:`~glass.lensing.from_convergence` function returns one or more
18+
other lensing fields given the convergence.
19+
20+
- The ``shear_from_convergence()`` function is deprecated in favour of
21+
``from_convergence()``.
22+
23+
- The ``glass`` module is no longer a namespace package. The new ``glass.ext``
24+
namespace is reserved for extensions instead. This is done to follow best
25+
practices, so that a bad extension can no longer break all of *GLASS* by
26+
mistake. The ``glass.all`` meta-module is no longer necessary.
27+
28+
- The point sampling functions :func:`~glass.points.positions_from_delta` and
29+
:func:`~glass.points.uniform_positions` now return an iterator over points.
30+
This has lead to orders-of-magnitude improvements in memory use and
31+
performance when simulating galaxies at Euclid/LSST densities.
32+
33+
- The ellipticity sampling functions :func:`~glass.shapes.ellipticity_gaussian`
34+
and :func:`~glass.shapes.ellipticity_intnorm` accept array inputs.
35+
36+
- A bug causing incorrect results from :func:`~glass.points.effective_bias` has
37+
been fixed.
38+
39+
740
2023.5 (31 May 2023)
841
--------------------
942

0 commit comments

Comments
 (0)