Pyxem

Latest version: v0.18.0

Safety actively analyzes 626118 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.18.0

==========
Fixed
-----
- Fixed pytest failure. Changed ``setup`` --> ``setup_method`` (997)
- :meth:`pyxem.signals.Diffraction2D.center_of_mass` now uses the :meth:`hyperspy.api.BaseSignal.map` function. (1005)
- Replace ``matplotlib.cm.get_cmap`` (removed in matplotlib 3.9) with ``matplotlib.colormaps``. (1023)
- Documentation fixes and improvement. (1028)
- Fixed bug with flattening diffraction Vectors when there are different scales (1024)
- Fixed intersphinx links and improved api documentation (1056)
- Fix an off-by-one error in the :meth:`pyxem.signals.Diffraction2D.get_azimuthal_integral2d` (1058)
- Fix handling of azimuthal range in :meth:`pyxem.signals.Diffraction2D.get_azimuthal_integral2d` (1060)

Added
-----
- Added :class:`pyxem.utils.calibration_utils.Calibration` class for calibrating the signal axes of a 4-D STEM dataset(993)
- Added :meth:`pyxem.signals.Diffraction2D.get_azimuthal_integral1D` method to calculate the azimuthal integral of a 2D diffraction pattern (1008)
- Added example for doing azimuthal integration of a 2d diffraction pattern (1009)
- Added :meth:`pyxem.signals.CommonDiffraction.get_virtual_image` method to calculate multiple virtual images
from a 4D STEM dataset (1014)
- Added GPU support for lazy signals. (1012)
- Added GPU processing for :meth:`pyxem.signals.Diffraction2D.get_azimuthal_integral2d` (1012)
- Added :meth:`pyxem.signals.Diffraction2D.get_diffraction_vectors` to directly return the diffraction vectors (1053)
- Added method for calibrating the detector gain (1046)
- Added :meth:`pyxem.signals.PolarDiffraction2D.subtract_diffraction_background` for polar-specific background subtraction (1062)

Deprecated
----------
- The module & all functions within ``utils.reduced_intensity1d`` are deprecated in favour of using the methods of `ReducedIntensity1D` (994).
- Deprecated ``CalibrationGenerator`` and ``CalibrationLibrary`` in favour of :class:`pyxem.utils.calibration.Calibration` class (1000)
- Detector module as we move away from pyfai
- Deprecated ``pyxem.generators.virtual_image_generator.VirtualImageGenerator`` in
favor of :meth:`pyxem.signals.CommonDiffraction.get_virtual_image` (1014)
- Several utility modules have been deprecated: utils.{pyfai,segement,virtual_images,background_utils,cluster_tools,signals, radial_utils} (1030 & 1060, 1055).
- The following utils: ``insitu_utils``, ``correlations_utils`` and ``pixelated_stem_tools``, ``dask_tools`` are now private.
- ``utils.vector_utils``, prefer ``utils.vectors``
- ``utils.symmetric_vector_utils``, prefer ``utils.vectors``
- ``utils.labeled_vector_utils``, prefer ``utils.vectors``
- ``utils.expt_utils``, prefer ``utils.diffraction``

Deleted
-------
- Several expired methods of :class:`pyxem.signals.Diffraction2D` associated with radial integration (998)
- The ``peak_find_lazy`` method of :class:`pyxem.signals.Diffraction2D` (1040)
- ``dummy_data`` that content is now available under ``data.dummy_data``

Changed
-------
- Subpixel refinement now a function of the :py:class:`~pyxem.signals.DiffractionVectors` class (980)
- The :py:class:`~pyxem.generators.SubpixelrefinementGenerator` class has been deprecated (980)

0.17.0

===========================
Added
-----
- LazyDiffractionVectors are now supported(969)
- DiffractionVectors now support intensity(969)
- Add Examples for vector_finding and determining_ellipticity(969)
- Add slicing methods to DiffractionVectors using ``ivec`` (972)
- :class:`~pyxem.signals.DiffractionVectors` now explicitly handles lazy signals (972)
- Added html representation for non-lazy :class:`~pyxem.signals.DiffractionVectors` (972)
- Added :class:`pyxem.signals.PolarVectors` for polar vectors (981)
- Added clustering methods using :func:`pyxem.signals.DiffractionVectors.cluster` (981)
- Added :class:`pyxem.signals.LabeledDiffractionVectors` for labeled diffraction vectors after clustering (981)

Changed
-------
- Revised the pyxem logo banner and favicon (988)

Fixed
-----
- Update pyxem to work with hyperspy 2.0.0 (969)
- Fixed slow markers (969)
- Removed parallel and max_workers keywords in favor of using dask (969)
- :class:`~pyxem.signals.DiffractionVectors2D` now extends :class:`~pyxem.signals.DiffractionVectors`
for a more consistent API (972)
- Fix :meth:`~pyxem.data.zrnb_precipitate` dataset to point to proper dataset

Removed
-------
- Removed MIB reader (979) in favor of https://github.com/hyperspy/rosettasciio/pull/174
- Support for Hyperspy 1.x.x is not supported. Use pyxem 0.16.0 instead if using Hyperspy 1.x.x (969)

0.16.0

===========================

Added
-----
- Added `magnitude_limits` to `DPCSignal2D` methods (949)
- Added :py:class:`~pyxem.signals.LazyCorrelation1D` for lazy Correlation1D signals
- Improved the documentation and added Examples
- Add N-D filtering using :py:meth:`~pyxem.signals.Diffraction2D.filter`
- Add new :py:class:`pyxem.signals.InSituDiffraction2D` class for in-situ diffraction data

Fixed
-----
- Remove ``ipywidgets`` from requirements as it is not a dependency
- Set skimage != to version 0.21.0 because of regression
- Do not reverse the y-axis of diffraction patterns when template matching (925)
- Fixed bug in :py:class:`pyxem.generators.indexation_generator.AcceleratedIndexationGenerator` when
passing orientations as tuples.
- Fix bug in calculating strain (958)

0.15.1

===========================

Fixed
-----
- Fixed type error in ``separate_watershed`` with scikit-image 0.21 (921)
- Fixed VDF creation from peaks using generators.VirtualDarkFieldGenerator.get_virtual_dark_field_images (926)
- Updating and correcting Zenodo (924)
- Bug fix for center_direct_beam and `half_square_width` (928 Thanks to PVacek )

0.15.0

===========================

Added
-----
- Added damp_extrapolate_to_zero to ReducedIntensity1D
- Added in deprecation wrapper class to wrap deprecated functions in pyxem.
- Center-of-mass algorithm added to get_direct_beam_position (845)
- Added `VectorSignal1D` class to handle 1 dimensional signals
- Added kwargs to find_beam_offset_cross_correlation allowing for parameters
to be passed to `phase_cross_correlation` (907)
- Added `LazyVirtualDarkField` signal

Changed
-------
- Sklearn is now required to be on the 1.0 series.
- Changed `set_signal_dimension` to `Hyperspy.signals.BaseSignal.transpose`
- Moved code from `VectorSignal` to `VectorSignal2D`. Change is more inline with stated dimensions
- `VectorSignal` pixel_calibration deprecated and replaced with scales.
- Fixed bugs resulting from API change in hyperspy/hyperspy3045. Markers explicitly initialized
- DiffractionVectors.get_diffraction_pixels_map returns a ragged signal
- VirtualDarkFieldImage.get_vdf_segment changed to properly handle setting of axes
- Increased minimal version of scikit-image to >= 0.19.0
- Increased minimal version of Matplotlib to >= 3.3

Fixed
-----
- Fixed a factor of 1/2 missing in ScatteringFitComponentXTables
- Fixed error related to `DiffractionSignal2D.apply_affine_transformation` when multiple affine transformations are given. (870)
- Bugfix related to Numpy 1.24.0. Strict array creation with dtype=object is needed
for ragged arrays. (880 & 881)
- Bug fix for doubling of inplane rotation in template matching. (905 & 853)
- Bug fix for filtering vectors using a basis and DBSCAN
- Bug fix for passing vector attributes when signal is copied or changed.

0.14.2

===========================

Changed
-------
- Increase minimal version of orix to >= 0.9.
- Increase minimal version of diffsims to >= 0.5.

Fixed
-----
- Fix bug in `get_DisplacementGradientMap` (852)
- Fix template matching bugs (originally fixed in 771 but omitted from 0.14 series by accident)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.