obspy.core.util.misc.flat_not_masked_contiguous

flat_not_masked_contiguous(a)[source]

Find contiguous unmasked data in a masked array along the given axis.

This function is taken from numpy.ma.flatnotmasked_contiguous().

Copyright (c) Pierre Gerard-Marchant