Skip to content

Commit

Permalink
set screen_scale=6.4 so that test_psf.py runs in ~1 s
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Aug 17, 2018
1 parent 5ba15e6 commit ec92416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_psf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_save_and_load_psf(self):
'tiny_instcat.txt')
obs_md, _, _ = desc.imsim.parsePhoSimInstanceFile(instcat)
for psf_name in ("DoubleGaussian", "Kolmogorov", "Atmospheric"):
psf = desc.imsim.make_psf(psf_name, obs_md, screen_scale=0.4)
psf = desc.imsim.make_psf(psf_name, obs_md, screen_scale=6.4)
psf_file = os.path.join(self.test_dir, '{}.pkl'.format(psf_name))
desc.imsim.save_psf(psf, psf_file)
psf_retrieved = desc.imsim.load_psf(psf_file)
Expand Down

0 comments on commit ec92416

Please sign in to comment.