Tutorial ======== This is a minimal end-to-end example (film, finite displacement, RTA). Step 1: Build a film structure ------------------------------ .. code-block:: bash python Structure/build_and_relax_prim.py --model film --thick 8 --vac 15 This writes: - `Structure/POSCAR` Step 2: Create an input file ---------------------------- Create `input.txt`: .. code-block:: text --poscar Structure/POSCAR --nep_model NEP/Si_2025_Xuke.txt --do_relax false --dim 4 4 1 --mesh 21 21 1 --temps 100 1000 100 --fc2fc3 true --use_hiphive false --method rta --wigner true Step 3: Run workflow -------------------- .. code-block:: bash python nepkappa.py input.txt Typical outputs: - `fc2.hdf5` - `fc3.hdf5` - `kappa-m21211.hdf5` The exact ``kappa`` filename depends on the mesh. For details on reading ``kappa-m*.hdf5`` files, please refer to the `phono3py HDF5 documentation `_. Step 4: Plot examples --------------------- .. code-block:: bash python path/plot_film.py This generates: - `path/Si_film_1nm_4panel.pdf` Notes ----- - Example plotting scripts are templates for your own data. - For your own results, copy and edit script paths accordingly.