Skip to content

Commit ffc52ed

Browse files
committed
Update CHANGES.md
1 parent 96dc4a7 commit ffc52ed

File tree

1 file changed

+8
-228
lines changed

1 file changed

+8
-228
lines changed

CHANGES.md

Lines changed: 8 additions & 228 deletions
Original file line numberDiff line numberDiff line change
@@ -1,236 +1,16 @@
11
# Change Log
22

33

4-
## [1.0.0]
5-
6-
* Changed/cleaned up API.
7-
* Added type hints.
8-
4+
## [1.0.1]
95

10-
## [0.2.2] — 2024-01-20
6+
* Added `plot.plot_points` (calls `plot.points.plot`).
7+
* Added `plot.plot_points` (calls `plot.points.plot`).
8+
* Added function `cov.normalization_matrix_block_diag`).
9+
* Fixed typos in `points.covariance_matrix` `points.correlation_matrix`, `image.covariance_matrix` `image.correlation_matrix`.
10+
* Fixed typo in `image.sample`.
1111

12-
* Fixed `utils.sphere_surface_area`.
1312

13+
## [1.0.0]
1414

15-
## [0.2.1] — 2023-12-12
16-
17-
* Fixed bug in `image.process` (clip --> clip_range to avoid naming conflict).
18-
19-
20-
## [0.2.0] — 2023-12-12
21-
22-
* Added module `psdist.distributions`.
23-
* Renamed function `image.get_grid_coords` → `image.get_grid_points`.
24-
* Renamed module `cloud` → `points`.
25-
* Renamed module `visualization.cloud` → `visualization.points`.
26-
*
27-
28-
## [0.1.10] — 2023-09-08
29-
30-
* Added distribution generators (Gaussian and Waterbag).
31-
32-
33-
## [0.1.9] — 2023-07-22
34-
35-
* Improved diagonal axis sharing in `visualization.CornerGrid`.
36-
* Renamed function `visualization.plot1d` → `visualization.plot_projection` and improve the function.
37-
* Added function `visualization.cloud.proj1d_interactive_slice`.
38-
* Renamed function `visualization.stack_limits` → `visualization.combine_limits`.
39-
* Added function `visualization.center_limits`.
40-
* Added mask option to `visualization.cloud.proj2d_interactive_slice`.
41-
* Fixed bug in `cloud.sparse_histogram`.
42-
* In `visualization.JointGrid`, changed all "panel_" variables to "marg_".
43-
44-
45-
## [0.1.8] — 2023-07-19
46-
47-
* Added options dict to `visualization.cloud.proj2d_interactive_slice` to decide which checkboxes appear.
48-
* Enabled multiple sets of clouds to be compared in `visualization.cloud.proj2d_interactive_slice`.
49-
* Enabled three levels of axis limit sharing in `visualization.cloud.proj2d_interactive_slice`.
50-
* Allow list of bin edge coordinates in `ps.cloud.histogram_bin_edges` and `ps.cloud.histogram`.
51-
* Added documentation to histogram functions.
52-
* Added `cloud.sparse_histogram`.
53-
* Added `image.sample_sparse_hist` → `ps.image.sample_hist`.
54-
* Renamed `image.sample_grid` → `ps.image.sample_hist`.
55-
56-
57-
## [0.1.7] — 2023-06-12
58-
59-
* Added default plot_res and slice_res arguments to `visualization.cloud.proj2d_interactive_slice`.
60-
* Removed limits on plot_res and slice_res widgets.
61-
* Fixed bug in colorbar tick locator in `visualization.cloud.proj2d_interactive_slice`.
62-
* Fixed `cloud.histogram` to allow one-dimensional arrays.
63-
* Added radial histogram for point clouds. Counts are normalized by spherical hypershell volume.
64-
65-
66-
## [0.1.6] — 2023-06-07
67-
68-
* Fixed bug in `visualization.cloud.proj2d_interactive_slice` to allow data sets with different numbers of points.
69-
70-
71-
## [0.1.5] — 2023-06-02
72-
73-
* Fixed bug with `visualization.cloud.slice_planar` limits when only one pair was provided.
74-
* Significantly improved ``visualization.cloud.proj2d_interactive_slice`.
75-
* Pass an arbitrary number of data sets; outputs side-by-side comparision.
76-
* Slice and view resolution is now adjusted using a textbox.
77-
* Slice index slider ranges are dynamically adjusted.
78-
79-
80-
## [0.1.4] — 2023-05-24
81-
82-
* Added absolute vs. relative offset to `visualization.image.plot2d`.
83-
* Subtact image offset when overlaying profiles in `visualization.image.plot2d`.
84-
* Fixed bug: `visualization.SliceGrid` gave error when the number of slices requested was the same as the number of indices in the array.
85-
* Change to convention: 'd' is now used to refer to the number of dimensions, and 'n' is used to refer to the number of points or pixels.
86-
* Fixed bug in `visualization.cloud.proj2d_interactive_slice`: limits were updating.
87-
88-
89-
## [0.1.3] — 2023-04-20
90-
91-
* Updated `visualization.CornerGrid`.
92-
* Added option to plot on off-diagonal subplots.
93-
* Added option to show right y spines on diagonal subplots.
94-
* Changed some keyword arguments.
95-
* Fix bug: `plot_cloud` was not working when `diag=False`.
96-
* Fixed key word argument default in JointGrid.colorbar.
97-
98-
99-
## [0.1.2] — 2023-03-06
100-
101-
* Default ec='None' in scatter plots.
102-
* Fixed bug in `visualization.CornerGrid`: in a fresh plot, if the data limits were smaller than the plot limits, the plot limits were not updated.
103-
* Default histogram limits in `visualization.CornerGrid` are computed using plot limits instead of data limits.
104-
* Can now pass either bin edges or number of bins as the 'bins' parameter in `visualization.CornerGrid.plot_cloud`.
105-
106-
107-
## [0.1.1] — 2023-01-19
108-
109-
* Added 'blur' option to `image.process`.
110-
* Added `visualization.JointGrid`, `visualization.image.joint`, and `visualization.cloud.joint`.
111-
* Fixed typo causing error in `visualization.cloud.corner`.
112-
113-
114-
## [0.1.0] — 2023-01-17
115-
116-
* Renamed `bunch` →`cloud`.
117-
* Added `cloud.gaussian_kde`: computes Gaussian kernel density estimation.
118-
* Added `cloud.project`: projects onto an axis.
119-
* Added `cloud.slice_contour`: applies contour shell slice.
120-
* Added `cloud.transform`: applies function to each point.
121-
* Renamed `cloud.apply` → `cloud.linear_transformation`.
122-
* Renamed `cloud.slice_box` → `cloud.slice_planar`.
123-
* Fixed `cloud.slice_ellipsoid` and `cloud.slice_sphere`
124-
* Renamed `plotting` → `visualization`
125-
* Added `visualization.CornerGrid`: constructs corner plot, can plot n-dimensional images or clouds.
126-
* Added `visualization.SliceGrid`: constructs slice matrix grid, can plot four-dimensional images or clouds. (Only images right now.)
127-
* `visualization.cloud`
128-
* `visualization.cloud.plot2d`: 2D plot; options for scatter, contour, hist, kde
129-
* `visualization.cloud.plot_rms_ellipse`: compute/plot the 2D RMS ellipse.
130-
* `visualization.cloud.corner`: corner plot for discrete data with all options of `plot2d`. (Shortcut to `CornerGrid`.)
131-
* `visualization.cloud.slice_matrix`: slice matrix plot for discrete data with all options of `plot2d`. (Shortcut to `SliceGrid`. Not working yet.)
132-
* `visualization.image.plot2d_interactive_slice`: 2D projection with interactive slicing.
133-
* `visualization.image`
134-
* `visualization.image.plot2d`: 2D image plot; options for pcolor, contour, contourf.
135-
* `visualization.image.plot_rms_ellipse`: plots RMS ellipse from image.
136-
* `visualization.image.plot_profiles`: plot 1D image profiles on top of image.
137-
* `visualization.image.corner`: corner plot for image data with all options of `plot2d`. (Shortcut to `CornerGrid`.)
138-
* `visualization.image.slice_matrix`: slice matrix plot for image data with all options of `plot2d`. (Shortcut to `SliceGrid`.)
139-
* `visualization.image.plot1d_interactive_slice`: 1D projection with interactive slicing.
140-
* `visualization.image.plot2d_interactive_slice`: 2D projection with interactive slicing.
141-
* `visualization.plot1d`. Added 'linefilled' and 'stepfilled' plot types.
142-
* `image`
143-
* Renamed `image.make_slice` → `image.slice_idx`
144-
* Renamed `image.make_slice_ellipsoid` → `image.slice_idx_ellipsoid`
145-
* Renamed `image.make_slice_contour` → `image.slice_idx_contour`
146-
* Added `image._slice`, `image._slice_ellipsoid`, `image._slice_contour`. These return a modified array instead of a slice index.
147-
* Improved `image.sample_grid`: ignore bins with zero probability.
148-
* Made some widgets optional in interactive plots.
149-
* Standard imports are now `import psdist as ps`, `import psdist.visualization as psv`, `import psdist.image as psi`, or `import psdist.cloud as psc`.
150-
* Updated example notebooks.
151-
152-
153-
## [0.0.11] - 2023-01-09
154-
155-
* Added `image.sample_grid`: draws random samples from n-dimensional histogram.
156-
* Renamed `plotting.plot1d` → `plotting.lineplot`
157-
158-
159-
## [0.0.10] - 2022-12-21
160-
161-
* Added version numbers to packages in requirements.txt
162-
* `bunch.decorrelate` now works with 2n-dimensional bunches instead of only six-dimensional bunches.
163-
164-
165-
## [0.0.9] - 2022-12-15
166-
167-
* Added 'return_indices' parameter to `plotting.slice_matrix` to return slice indices.
168-
* Updated examples
169-
* `utils.random_selection` can now take lists as input.
170-
* Fixed typo in `plotting.corner`. There was a lingering variable named 'image', which produced an error after changing the function `plot_image` to `image`.
171-
172-
173-
## [0.0.8] - 2022-12-15
174-
175-
* `plotting.image_profiles` was flipping axis limits sometimes... added temporary fix.
176-
177-
178-
## [0.0.7] - 2022-12-15
179-
180-
* Added `bunch.downsample`: removes a random selection of points.
181-
* Added `image.enclosing_ellipsoid`: scales covariance ellipsoid until it contains some fraction of points.
182-
* Added `image.enclosing_sphere`: scales sphere until it contains some fraction of points.
183-
* Added `plotting.ellipse`: convenience function to plot an ellipse.
184-
* Added `plotting.rms_ellipse`: plots rms ellipse at various levels given covariance matrix.
185-
* Added `plotting.image_rms_ellipse`: computes rms ellipse from image and plots it.
186-
* Added 'divide_by_max' parameter to `plotting.image`
187-
* Added examples notebook.
188-
* `image.cov is now much faster for high-dimensional images.
189-
* Threshold slider in `plotting.interactive_proj2d` now applies a fractional threshold instead of an absolute threshold.
190-
* `plotting.corner` can now act on existing axes (allowing more than one data set to be plotted).
191-
* Fixed bug when k=None in `utils.random_selection`.
192-
* Fixed naming conflict in `plotting.interactive_proj2d_discrete`.
193-
* Removed 'contour' parameter from `plotting.plot_image`.
194-
* Renamed `plotting.plot_image` → `plotting.image`.
195-
* Renamed `plotting.plot_profile` → `plotting.image_profiles`.
196-
* Renamed `plotting.image_profiles` now as arguments 'x', and 'y' instead of 'xcoords' and 'ycoords'.
197-
* Renamed `utils.get_centers` → `utils.centers_from_edges`.
198-
* Renamed `utils.get_edges` → `utils.edges_from_centers`.
199-
* Renamed `utils.rand_rows` → `utils.random_selection`.
200-
201-
202-
## [0.0.6] - 2022-12-11
203-
204-
* Added call signatures for `image.make_slice_contour` and `image.make_slice_ellipsoid`; they are not yet implemented.
205-
* Contour slices now take parameters `lmin` and `lmax`, which determine the thresholding window. This can be used to define either filled or shell slices.
206-
* Internal changes to `image.project1d_contour` and `image.project2d_contour`.
207-
* Fixed incorrect `plotting.corner` limits when diag=False.
208-
209-
210-
## [0.0.5] - 2022-12-10
211-
212-
* Interactive plots `plotting.interactive_proj1d` and `plotting.interactive_proj1d` can now handle arrays of any dimension.
213-
* Changed default behaviour of `plotting.interactive_proj2d_discrete` to use auto binning.
214-
* Removed fix_vmax checkbox from `plotting.interactive_proj2d`.
215-
216-
217-
## [0.0.4] - 2022-12-09
218-
219-
* Added `utils.get_edges`
220-
* Diagonal plots in `plotting.corner` now fill in masked values.
221-
* Fixed limits in `plotting.corner` diagonals.
222-
* Renamed `utils.copy_into_new_dim` → `image.copy_into_new_dim`.
223-
* Renamed `image.get_bin_centers` → `utils.get_centers`.
224-
* Renamed `utils.save_stacked_array` → `data.save_stacked_array`.
225-
* Renamed `utils.load_stacked_arrays` → `data.load_stacked_arrays`.
226-
* Renamed `plotting.matrix_slice` → `plotting.slice_matrix`.
227-
228-
229-
## [0.0.3] - 2022-12-06
230-
231-
* Added `bunch.decorrelate`: randomly permutes x-x', y-y', z-z' pairs.
232-
* Fixed `plotting.plot_image`; thresholding no longer changes input array.
233-
* Renamed `dist.py` → `bunch.py`.
15+
* Initial release
23416

235-
## [0.0.2] - 2022-11-30
236-
* Initial release.

0 commit comments

Comments
 (0)