Releases: LaurentRDC/scikit-ued
Release 2.0.4 : fitting with IRF
This release sees one major change:
- Added the function
with_irf
, which allows to modify fitting functions to include the effects of instrument response.
Other changes:
- Added support for
crystals.ElectronicStructure
. This requirescrystals
version 1.1.0 and up. - Various documentation fixes.
Release 2.0.2 : Minor improvements
- Added the
Selection
class andRectSelection
,DiskSelection
,RingSelection
, and
ArbitrarySelection
to assemble time-series. This is a generalization of iris-ued's time-series rects. - Added real-time pixel value and cursor position to
skued.diffshow
. - Added
indices_to_text
, a plotting utility function to render Miller indices to Mathjax/LaTeX-style text (Matplotlib-compatible).
2.0.1: minor bug fixes
This release sees two minor bug fixes:
skued.diffshow
will temporarily switch PyQtGraph's image axis order to the row-major, which is a saner default.- Fixed an issue where a typo in
electron_velocity
would raise an exception.
There is also a new way to quickly look at images:
- Added skued command-line utilities. Images can be shown (with interactive viewer) using
skued diffshow [path]
.
Crystal information can be determined usingskued crystinfo [path]
.
Release 2.0.0: breaking changes
scikit-ued's success has propagated through the Python community:
- Broke off the
skued.structure
subpackage into its own library,crystals
. - Removed
masked_register_translation
in favour of the new scikit-image implementation ported from scikit-ued.
Due to a conflict between scikit-image and scikit-ued conventions, some breaking changes are required.
Image conventions will now follow that of scikit-image. Most importantly:
- Changed the convention on image masks to align with the scikit-image convention. Masks will be
True
for valid pixels, andFalse
on invalid pixels.
We took the opportunity to make other breaking changes:
- Removed
xcorr
andmnxc
as these were the backbone ofmasked_register_translation
and are no longer needed. - Added aspherical electron form factor parametrization from Zheng et al. 2009.
- Removed
diff_register
in favor of an analog of scikit-image'sregister_translation
andmasked_register_translation
. - Removed
powder_center
due to unpredictable performance. - Removed
calibrate_scattvector
, which was deprecated. - Removed
time_shift
andtime_shifts
, which were deprecated. - Removed
shift_image
in favor ofscipy.ndimage.shift
. bounded_reflections
has been removed in favor ofCrystal.bounded_reflections
in the crystals library (version >= 0.6.4)
We have also added some features:
- Added the
patterson
function to calculate Patterson pair-pair distribution functions from polycrystalline diffraction patterns. - Added the
detector_scattvectors
function to determine the wavevectors visible on a detector, in transmission, based on experimental geometry.
For iris-ued users
Be sure to update to iris-ued 5.1.3. Older versions don't have an upper bound on scikit-ued. iris-ued verisions < 5.1.4 only support scikit-ued 1.*
Pre-release 2.0.0 alpha 1
Due to a conflict between scikit-image and scikit-ued conventions, some breaking changes are required.
Image conventions will now follow that of scikit-image. Most importantly:
- Changed the convention on image masks to align with the scikit-image convention. Masks will be
True
for valid pixels, andFalse
on invalid pixels.
We took the opportunity to make other breaking changes:
- Removed
masked_register_translation
in favour of the new scikit-image implementation ported from scikit-ued. - Removed
xcorr
andmnxc
as these were the backbone ofmasked_register_translation
and are no longer needed. - Broke off the
skued.structure
package into its own library,crystals
. The API is still provided underskued.structure
for now. - Added aspherical electron form factor parametrization from Zheng et al. 2009.
- Removed
diff_register
in favor of an analog of scikit-image'sregister_translation
andmasked_register_translation
. - Removed
powder_center
due to unpredictable performance. Warnings will be issued on every function call. It will be removed in an upcoming release - Removed
calibrate_scattvector
, which was deprecated. - Removed
time_shift
andtime_shifts
, which were deprecated. - Removed
shift_image
in favor ofscipy.ndimage.shift
. bounded_reflections
has been removed in favor ofCrystal.bounded_reflections
in the crystals library (version >= 0.6.4)
We have also added some features:
- Added the
patterson
function to calculate Patterson pair-pair distribution functions from polycrystalline diffraction patterns. - Added the
detector_scattvectors
function to determine the wavevectors visible on a detector, in transmission,
based on experimental geometry.
Release 1.0.1.1 : time-series fitting
Fitting of intensity time-series was added.
Some bugs concerning tests and temporary files were also fixed.
1.0.1.0 : I/O improvements
scikit-ued's diffread
function now supports Gatan's closed source DM3 and DM4 image formats.
Note that scikit-ued is also available on the conda-forge channel.
Release 1.0.0.0
This is the first stable release. Most changes from 0.5.9 are internal.
Public changes from 0.5.9 :
available_dt_filters
andavailable_first_stage_filters
have been added to list available baseline-removal filters.
Further tweaks and bug fixes
A few new additions in this release:
- Added chemical_composition property to AtomicStructures
- Better string representations for Crystals and Lattices
- Added the skued.reflection function
- Fixed Lorentz factor calculations
0.4.11 : bug fixes and reliability improvements
DOC: updated imports in tutorials