bids.reports.utils.get_slice_info

get_slice_info(slice_times)[source]

Extract slice order from slice timing info.

TODO: Be more specific with slice orders. Currently anything where there’s some kind of skipping is interpreted as interleaved of some kind.

Parameters

slice_times (array-like) – A list of slice times in seconds or milliseconds or whatever.

Returns

slice_order_name – The name of the slice order sequence.

Return type

str