PAOFLOW.pyskeaf.results#
Result dataclasses and output writers for PAOFLOW.pyskeaf.
PAOFLOW uses a qo_EF_<energy>_ prefix for quantum-oscillation outputs so
results from different Fermi energies remain identifiable and cannot silently
overwrite one another.
Phase 1 only defines the dataclasses and stubs the writers; full output formatting will be filled in as later phases produce real orbit data.
Classes#
A single extremal orbit on the Fermi surface at a fixed (θ, φ). |
|
Top-level container for a complete SKEAF run. |
Functions#
|
Return a stable, compact eV value for a quantum-oscillation filename. |
|
Write the CSV-style frequency-vs-angle result. |
|
Write the human-readable short result. |
|
Write the verbose long result (every orbit copy listed). |
|
Write the orbit-outline coordinate files in both Å⁻¹ and a.u.⁻¹. |
Module Contents#
- class PAOFLOW.pyskeaf.results.Orbit[source]#
A single extremal orbit on the Fermi surface at a fixed (θ, φ).
Mirrors the per-orbit fields written by the Fortran
sliceextand the final averaging step.- avg_coords_ruc: numpy.ndarray[source]#
- avg_coords_ruc_std: numpy.ndarray[source]#
- rep_contour_xy: numpy.ndarray | None = None[source]#
- outline_au: numpy.ndarray | None = None[source]#
- outline_ang: numpy.ndarray | None = None[source]#
- class PAOFLOW.pyskeaf.results.SKEAFResult[source]#
Top-level container for a complete SKEAF run.
- angles: numpy.ndarray | None = None[source]#
- PAOFLOW.pyskeaf.results.fermi_energy_filename_token(fermi_energy_ev)[source]#
Return a stable, compact eV value for a quantum-oscillation filename.
- PAOFLOW.pyskeaf.results.write_results_freqvsangle(result, path=None)[source]#
Write the CSV-style frequency-vs-angle result.
Columns are comma-separated for compatibility with existing plotting scripts, and each field has a fixed width shared by the header and data.
- PAOFLOW.pyskeaf.results.write_results_short(result, path=None)[source]#
Write the human-readable short result.
Mirrors the per-angle block at skeaf_v1p3p0_r149.F90:2780–2810. Header comes from
_results_header(). Orbits are written in the order they appear inresult.orbits; the writer detects angle changes by inspecting consecutive(theta, phi)pairs and emits an “ANGLE n of N” delimiter.
- PAOFLOW.pyskeaf.results.write_results_long(result, path=None)[source]#
Write the verbose long result (every orbit copy listed).
Same structure as the short result but additionally records the representative-copy slice index and orbit number used for the outline file (Fortran F90:986–988).
- PAOFLOW.pyskeaf.results.write_orbit_outlines(result, path_invang=None, path_invau=None)[source]#
Write the orbit-outline coordinate files in both Å⁻¹ and a.u.⁻¹.
Each orbit’s representative contour is converted from slicing-frame Å⁻¹ to BZ-frame Cartesian Å⁻¹ via the rotation matrix at that angle, then shifted by the centroid’s nearest-RUC-lattice-vector offset (Fortran F90:990–1015). The a.u.⁻¹ file is the Å⁻¹ file scaled by
CONV_AU_TO_ANG(= 0.529177209).Notes
The Fortran outline writer requires
rep_contour_xyto have been populated byPAOFLOW.pyskeaf.runner.run_at_angle(); orbits without a contour are silently skipped.