def test_rough_image_altaz(self): '''Test image production.''' scanset = ScanSet('test.hdf5') images = scanset.calculate_images(altaz=True) img = images['Feed0_RCP'] if HAS_MPL: fig = plt.figure('img_altaz') plt.imshow(img, origin='lower') plt.colorbar() plt.savefig('img_altaz.png') scanset.save_ds9_images(save_sdev=True, altaz=True) plt.close(fig)
def test_ds9_image_destripe(self): '''Test image production.''' scanset = ScanSet('test.hdf5') scanset.save_ds9_images(destripe=True)
def test_ds9_image_not_save_sdev(self): '''Test image production.''' scanset = ScanSet('test.hdf5') scanset.save_ds9_images(save_sdev=False)
def test_ds9_image(self): '''Test image production.''' scanset = ScanSet('test.hdf5') scanset.save_ds9_images(save_sdev=True)