output_data_stride
Syntax
output_data_stride = 50
- Meaning
Number of MD simulation steps between two saved trajectory frames. This is the same output interval used in the MD run, so it controls how often pySED receives atomic positions and velocities.
- Default
0. This must be set.- Example
If GPUMD uses
dump_exyz 50 1, setoutput_data_stride = 50.With
time_step = 1fs andoutput_data_stride = 50, pySED samples the trajectory every 50 fs. The Nyquist frequency is therefore 10 THz.- Notes
output_data_strideis a sampling parameter. During the production run, atomic velocities and positions are saved everyoutput_data_strideMD steps. According to the Shannon sampling theorem, the maximum frequency that can be resolved by SED is\[f_{\max}(\mathrm{THz}) = \frac{500} {\mathrm{time\_step(fs)} \times \mathrm{output\_data\_stride}}.\]This is the usual Nyquist limit,
f_max = 1 / (2 * time_step * output_data_stride). The factor500comes only from unit conversion: whentime_stepis given in fs,1/fsequals1000THz, and the Nyquist factor1/2gives1000 / 2 = 500.For example, if
time_step = 1fs andoutput_data_stride = 50, the maximum resolvable frequency is10THz. Modes above this frequency cannot be recovered from the saved trajectory.A longer production trajectory gives more saved frames and improves the frequency resolution of the SED map. The trade-off is memory and file size: saving frames more often or running longer gives better spectral information, but requires more storage and memory during analysis.