v0.6.0
Pre-release
Pre-release
-
Euphonic can now calculate neutron-weighted partial density of states, and
has newSpectra
features to handle PDOS data:- Added
QpointPhononModes.calculate_pdos
method - Added
QpointFrequencies.calculate_dos_map
method - New
Spectrum1D.__add__
method, which adds 2 spectra together - New
Spectrum1DCollection.__add__
method, which concatenates 2 collections - Enabled indexing of
Spectrum1DCollection
by a sequence - Added
Spectrum1DCollection.group_by
method, which allows grouping and
summing spectra by metadata keys e.g.group_by('species')
- Added
Spectrum1DCollection.select
method, which allows selection
of spectra by metadata keys e.g.select(species='Si')
- Added
Spectrum1DCollection.sum
method, which sums all spectra in a
collection - Added
-w={'coherent-dos','incoherent-dos','coherent-plus-incoherent-dos'}
neutron-weighted PDOS options toeuphonic-dos
andeuphonic-powder-map
- Added
--pdos
options for plotting specific species PDOS to
euphonic-dos
andeuphonic-powder-map
- Deprecated
--weights
command-line argument in favour of--weighting
for consistency withcalculate_pdos
- Added
-
Improvements:
- LICENSE and
CITATION.cff <https://citation-file-format.github.io/>
_
files are now included in Euphonic's installation - Add ability to interactively change the colormap intensity limits
ineuphonic-powder-map
euphonic-optimise-dipole-parameter
can now read from Phonopy sourceseuphonic-optimise-dipole-parameter
can now also be used for non-polar
materials to get general per-qpoint timings- Dimensioned Euphonic properties (e.g.
frequencies
,cell_vectors
)
now have setters so can be set, previously this would raise an
AttributeError
- LICENSE and
-
Changes:
- The units of density of states as produced by
calculate_dos
have
changed from dimensionless to1/energy
- The scaling of density of states has also changed. Previously the
integration would sum to 1 (if thex_data
were converted to Hartree
units), now the integration will sum to 3N in the same units asx_data
StructureFactor.structure_factors
have been changed to be in absolute
units per atom (rather than per unit cell) so will have changed by a
factor of1/2*n_atoms
, this formulation change has been reflected in the
calculate_structure_factor
docstring- The default unit of
StructureFactor.structure_factors
has been changed
fromangstrom**2
tomillibarn
- The unit of S(Q,w) as produced by
StructureFactor.calculate_sqw_map
has changed dimension fromlength**2
tolength**2/energy
. Also,
as its unit is derived from the inputStructureFactor
object, its
default units are nowmillibarn/meV
- The
eta_scale
argument incalculate_qpoint_phonon_modes
has been
deprecated,dipole_parameter
should be used instead. - This means the
euphonic-optimise-eta
script has been renamed to
euphonic-optimise-dipole-parameter
.
- The units of density of states as produced by