The task invert is used to produce an image (or image cube) given a collection of visibility datasets.