import marvin
import matplotlib.pyplot as plt
cube = marvin.tools.Cube('8485-1901')
aperture_ell = cube.getAperture([(5, 5), (20, 15)], (4, 3, 0), aperture_type='elliptical')
plt.imshow(aperture_ell.mask, origin='lower')