# Results Files Documentation This page provides an overview of the output files generated by the **WPEM** software for diffraction refinement, background fitting, amorphous component analysis, solid solution modeling, and simulation tasks. --- ## General Information All results are saved in the **working directory** (`work_dir`), which can be specified by the user during execution. If not specified, outputs default to the current directory. ### File Naming Conventions * **Prefix**: Indicates the task type (e.g., `XRD`, `Background`, `Amorphous`, etc.). * **Suffix**: Usually includes a timestamp to prevent file overwriting. --- ## Output Files by Function ### 1. **Background Fitting** **Folder**: `ConvertedDocuments` * `bac.csv`: Fitted background intensities. * `no_bac_intensity.csv`: Diffraction signals after background removal. * `bac_points.csv`: Selected background points. * `intensity_fft.csv`: Diffraction signals processed by Fast Fourier Transform. * `de_backgroundfittingcurve.png`: Plot of the original data, fitted background, and background-subtracted signals. * `backgroundfittingcurve.png`: Visualization showing the raw data, selected background points, and the fitted background curve. --- ### 2. **XRD Refinement** **Folder**: `WPEMFittingResults` * `CrystalSystem0_WPEMout_