cindeem/nibabel — comment on commit c5192e8c0e89d5fbd90467b077b2b6009f44e812
File:  line 0
By cindeem:

i think I understand your question:

and in my experience I have never found an mlist[:,0] to return
[0 2000 1000]

it is not feasible
you could get
[2000 1000 0]
but of course then there is no issue (zeros only tend to show up at the end of an mlist when data is missing, not at the beginning)

does this make sense?

to get the "True" frame number I need to use info from the header and mlist to resolve the real frame number....but the mlist should never give me the order you propose...(tho I guess I could put a catch in for this, but have never had this issue in thousands of PET scans)...but that doesnt mean it cant happen, if someone wrote the file poorly maybe?

let me see if I can get the real frame_number id algorithm in there (maybe tonight, tmr morning)...maybe this would all make more sense?