コード例 #1
0
    def test_SeeingPSF_plot(self):
        psf = psfs.SeeingPSF(fwhm=0.8)
        fov = fovobj._centre_micado_fov()
        if PLOTS:
            psf.plot(fov)
            plt.show()

        assert True
コード例 #2
0
    def test_VibrationPsf_plot(self):
        psf = psfs.Vibration(fwhm=0.03, pixel_scale=0.005)
        fov = fovobj._centre_micado_fov()
        if PLOTS:
            psf.plot(fov)
            plt.show()

        assert True
コード例 #3
0
    def test_FieldConstantPSF_plot(self):
        psf = psfs.FieldConstantPSF(filename="test_ConstPSF.fits")
        fov = fovobj._centre_micado_fov()

        if PLOTS:
            psf.plot(fov)
            plt.show()

        assert True
コード例 #4
0
    def test_NonCommonPathAberrationPsf_plot(self):
        psf = psfs.NonCommonPathAberration(pixel_scale=0.05)
        fov = fovobj._centre_micado_fov()

        if PLOTS:
            psf.plot(fov)
            plt.show()

        assert True
コード例 #5
0
    def test_AnisocadoPsf_plot(self):
        psf = psfs.AnisocadoConstPSF(filename="test_AnisoCADO_rms_map.fits",
                                     strehl=0.5,
                                     wavelength=2.15)
        fov = fovobj._centre_micado_fov()

        if PLOTS:
            psf.plot(fov)
            plt.show()

        assert True
コード例 #6
0
 def test_GaussianDiffractionPSF_plot(self):
     psf = psfs.GaussianDiffractionPSF(diameter=32)
     fov = fovobj._centre_micado_fov()
     if PLOTS:
         psf.plot(fov)
         plt.show()