1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
# Release notes
## Version 2024.2.1
### Changes
- PowderPattern:
- fix re-using a matplotlib figure when plotting
- add 'figure' property
## Version 2024.2
### Changes
- DiffractionDataSingleCrystal: add SetHklIobs, SetIobs, SetSigma, GetSigma,
GetChi2, FitScaleFactorForRw and FitScaleFactorForR
(https://github.com/diffpy/pyobjcryst/issues/42)
- Add a single crystal data notebook example
- Online documentation notebooks now include the plots
(https://pyobjcryst.readthedocs.io/en/latest/examples)
### Fixes
- From libobjcryst: update the ScatteringComponentList when a Scatterer is removed
from a Crystal (https://github.com/diffpy/pyobjcryst/issues/41)
## Version 2024.1
### Changes
- Add python access to MolZAtom, for Molecule.AsZMatrix()
## Version 2.2.6
### Changes
- Support for windows and python>=3.8
- Added a zoom limit for 3D crystal views
### Fixes
- Correct error preventing pyobjcryst import for windows and python>=3.8
(https://github.com/diffpy/pyobjcryst/issues/33)
- Fix for matplotlib >=3.7.0 when removing hkl labels
## Version 2.2.5
### Changes
- Raise an exception if alpha, beta or gamma are not within ]0;pi[ when
changing lattice angles
- Add UnitCell.ChangeSpaceGroup()
### Fixes
- Avoid duplication of plots when using ipympl (aka %matplotlib widget)
- Correct powder pattern tests to avoid warnings
### Deprecated
- loadCrystal - use create_crystal_from_cif() instead
## Version 2.2.4
### Changes
- the list of HKL reflections will now be automatically be re-generated
for a PowderPatternDiffraction when the Crystal's spacegroup changes,
or the lattice parameters are modified by more than 0.5%
### Fixes
- Fixed the powder pattern indexing test
## Version 2.2.3
### Added
- Support for windows install (works with python 3.7, and
also -only with pypy- 3.8 and 3.9)
- Native support for Apple arm64 (M1, M2) processors
- Fourier maps calculation
- Add gDiffractionDataSingleCrystalRegistry to globals
## Version 2.2.2
### Changes
- Add correct wrapping for C++-instantiated objects available through global
registries, e.g. when loading an XML file. The objects are decorated with
the python functions when accessed through the global registries GetObj()
- Moved global object registries to pyobjcryst.globals
- Update documentation
### Fixed
- Fix access to PRISM_TETRAGONAL_DICAP, PRISM_TRIGONAL,
ICOSAHEDRON and TRIANGLE_PLANE.
- Fix powder pattern plot issues (NaN and update of hkl text with recent
matplotlib versions)
## Version 2.2.1 -- 2021-11-28
- Add quantitative phase analysis with PowderPattern.qpa(), including
an example notebook using the QPA Round-Robin data.
- Correct import of urllib.request.urllopen() when loading CIF or z-matrix
files from http urls.
- Fix blank line javascript output when updating the Crystal 3D view
- Add RefinableObj.xml() to directly get the XMLOutput() as a string
- Add example notebooks to the sphinx-generated html documentation
- Fix issue when using Crystal.XMLInput() for a non-empty structure.
Existing scattering power will be re-used when possible, and otherwise
not deleted anymore (which could lead to crashes).
## Version 2.2.0 -- 2021-06-08
Notable differences from version 2.1.0.
- Add access to Radiation class & functions to change RadiationType,
wavelength in PowderPattern and ScatteringData (and hence
DiffractionDataSingleCrystal) classes.
- Fix the custodian_ward when creating a PowderPatternDiffraction:
PowderPatternDiffraction must persist while PowderPattern exists, and
Crystal must persist while PowderPatternDiffraction exists.
- Add 3D Crystal viewer `pyobjcryst.crystal.Crystal.widget_3d`.
## Version 2.1.0 -- 2019-03-11
Notable differences from version 2.0.1.
### Added
- Support for Python 3.7.
- Validation of compiler options from `python-config`.
- Make scons scripts compatible with Python 3 and Python 2.
- Support np.array arguments for `SetPowderPatternX`, `SetPowderPatternObs`.
- Declare compatible version requirements for client Anaconda packages.
- Facility for silencing spurious console output from libobjcryst.
### Changed
- Build Anaconda package with Anaconda C++ compiler.
- Update to libobjcryst 2017.2.x.
### Deprecated
- Variable `__gitsha__` in the `version` module which was renamed
to `__git_commit__`.
### Removed
- Support for Python 3.4.
### Fixed
- Ambiguous use of boost::python classes and functions.
- Name suffix resolution of `boost_python` shared library.
- `SetPowderPatternX` crash for zero-length argument.
- Incorrectly doubled return value from `GetInversionCenter`.
|