@yarikoptic I did evaluate your trick. It clearly works some of the time, but fails with modern systems and sequences. Specifically, for a 48 slice multi-band x2 (where pairs of spatially distant slices should share the same slice time) on a 3T Philips MR 55.1 5.5.2 the values were
"RepetitionTime": 1.97409,
"MTState": false,
"FlipAngle": 72,
"SliceTiming": [
0.07812,
0.10938,
0.10938,
0.10938,
0.14062,
0.14062,
0.14062,
0.15625,
0.17188,
0.17188,
0.20312,
0.21875,
0,
0,
0,
0.01562,
0.01562,
0.01562,
0.03125,
0.03125,
0.03125,
0.0625,
0.0625,
0.0625,
0.23438,
0.23438,
0.23438,
0.23438,
0.23438,
0.25,
0.25,
0.25,
0.25,
0.25,
0.25,
0.26562,
0.26562,
0.26562,
0.26562,
0.26562,
0.26562,
0.28125,
0.28125,
0.28125,
0.28125,
0.28125,
0.28125,
0.28125 ],
Maybe the report times when images are returned from a reconstruction system that works in parallel rather than sequentially. I do think your script may help some people, but it is not robust enough to include in dcm2niix.