- New Features:
CoherentCrystal
can now also be created with aeuphonic.brille.BrilleInterpolator
object
- Dependency changes:
- Euphonic version dependency increased from >= 0.6.0 to >= 1.2.0
- Changes:
n_threads
is now explicitly named in theCoherentCrystal
constructor arguments rather than being part of**kwargs
psutil
has been added as a dependency
- Improvements:
- If
chunk
hasn't been provided toCoherentCrystal
, a recommended chunk size will now be calculated and set based on available memory.
- If
- Improvements:
- Improve reliability by testing on oldest and newest supported Euphonic versions
- Bug fixes:
- Use of temperature=0 will now calculate the 0K Debye-Waller and Bose population factors - previously these temperature dependent effects were not calculated at 0K
- Improvements:
- There is a new
frequency_scale=1.0
argument tohorace_disp
which allows the output frequencies to be scaled
- There is a new
- Breaking changes:
- The
pars=[]
argument tohorace_disp
has been changed tointensity_scale=1.0
- The
- Dependency changes:
- Euphonic version dependency increased from >= 0.5.0 to >= 0.6.0
- Breaking changes:
- The default units of
StructureFactor.structure_factors
in Euphonic have been changed fromangstrom**2
per unit cell tombarn
per sample atom, and are now in absolute units including a previously omitted 1/2 factor. So the structure factors produced by CoherentCrystal.horace_disp have increased by a factor of1e11/(2*N_atoms)
- The default units of
- Other changes:
- The
eta_scale
keyword argument toCoherentCrystal
has been deprecated,dipole_parameter
should be used instead - A ValueError will now be raised if an unrecognised keyword argument is passed
to
CoherentCrystal
- The
- Dependency changes:
- Euphonic version dependency increased from >=0.4.0 to >=0.5.0
- Breaking changes:
fall_back_on_python
argument tohorace_disp
has been removed as this has been removed in Euphonic
Breaking changes:
Major update to how Horace-Euphonic-Interface works, most code has been rewritten in Python to allow it to be called directly from the Python version of Horace. It has also been split into two separate repositories so that the Python version of Horace only needs to include what it needs, and to allow easier updating and management of either Python or Matlab parts of the code. The two repositories are:
- This repository (
euphonic_sqw_models
), which contains the Python part of the code - Horace-Euphonic-Interface, which has retained its name, but now only includes minimal Matlab wrappers around the Python code in this repository.
- This repository (
- There has also been a major refactor, the main changes are:
euphonic_sf
has been removedeuphonic_on
has been removed- Force constants are now a separate object (
ForceConstants
) rather than passing these arguments toeuphonic_sf
- The model parameters are set in a
CoherentCrystal
model object, rather than passing these parameters toeuphonic_sf
- The function handle to be passed to
disp2sqw_eval
isCoherentCrystal.horace_disp
rather thaneuphonic_sf
- The
dw_grid
argument has been renamed todebye_waller_grid
Other changes:
- A
verbose
argument has been added tohorace_disp
which can be set toFlase
to prevent printing of q-point progress
- A
- First release