v0.6.0
Pre-release
Pre-release
-
Euphonic can now calculate neutron-weighted partial density of states, and
has newSpectrafeatures to handle PDOS data:- Added
QpointPhononModes.calculate_pdosmethod - Added
QpointFrequencies.calculate_dos_mapmethod - New
Spectrum1D.__add__method, which adds 2 spectra together - New
Spectrum1DCollection.__add__method, which concatenates 2 collections - Enabled indexing of
Spectrum1DCollectionby a sequence - Added
Spectrum1DCollection.group_bymethod, which allows grouping and
summing spectra by metadata keys e.g.group_by('species') - Added
Spectrum1DCollection.selectmethod, which allows selection
of spectra by metadata keys e.g.select(species='Si') - Added
Spectrum1DCollection.summethod, which sums all spectra in a
collection - Added
-w={'coherent-dos','incoherent-dos','coherent-plus-incoherent-dos'}
neutron-weighted PDOS options toeuphonic-dosandeuphonic-powder-map - Added
--pdosoptions for plotting specific species PDOS to
euphonic-dosandeuphonic-powder-map - Deprecated
--weightscommand-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-parametercan now read from Phonopy sourceseuphonic-optimise-dipole-parametercan 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_doshave
changed from dimensionless to1/energy - The scaling of density of states has also changed. Previously the
integration would sum to 1 (if thex_datawere converted to Hartree
units), now the integration will sum to 3N in the same units asx_data StructureFactor.structure_factorshave 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_factordocstring- The default unit of
StructureFactor.structure_factorshas been changed
fromangstrom**2tomillibarn - The unit of S(Q,w) as produced by
StructureFactor.calculate_sqw_map
has changed dimension fromlength**2tolength**2/energy. Also,
as its unit is derived from the inputStructureFactorobject, its
default units are nowmillibarn/meV - The
eta_scaleargument incalculate_qpoint_phonon_modeshas been
deprecated,dipole_parametershould be used instead. - This means the
euphonic-optimise-etascript has been renamed to
euphonic-optimise-dipole-parameter.
- The units of density of states as produced by