lookahead

Contents

lookahead#

abtem.multislice.lookahead(iterable)[source]#

Generator that yields (current, next) items from an iterable. The last item is yielded as (last, None).