if tomo.shape[1] != len(theta):
        msg = 'There must be one angle for every projection.'
        raise ValueError(msg)