### Timing Calculations: Separate Calculation and Rounding Source: https://github.com/imr-framework/pypulseq/blob/master/examples/scripts/STYLE_GUIDE.md Provides an example of correctly calculating and rounding timing delays by splitting the process into two distinct steps. ```python # Good: two separate steps te_delay = te - pp.calc_duration(gx_pre) - gz.fall_time - gz.flat_time / 2 - pp.calc_duration(gx) / 2 te_delay = np.ceil(te_delay / seq.grad_raster_time) * seq.grad_raster_time # Avoid: combined in one expression te_delay = np.ceil( (te - pp.calc_duration(gx_pre) - gz.fall_time - gz.flat_time / 2 - pp.calc_duration(gx) / 2) / seq.grad_raster_time ) * seq.grad_raster_time ```