Labels

Milestone

Assignee

7 participants

This pull request has some additions to the multi-object formalism that was merged into master about 2 weeks ago. They include:

1) an abbreviated config syntax, which is simpler for users in some cases (see a demonstration in examples/MultiObjectDemo.py script 2).

2) a third script in examples/MultiObjectDemo.py which simulates 100 images based on realistic galaxies. This means that MultiObjectDemo.py now has 3 options, each of which demonstrates a different aspect of what we've achieved in the 2nd milestone. You can use that script to generate a FITS data cube with the 100 galaxy images, convolved with a double Gaussian PSF that represents fairly good conditions for a ground-based telescope.

Also works well for me, and the demo scripts make nice output. I think the abbreviated config style (i.e. the string parsing) is a nice addition to the input capabilities. I think it doesn't hurt to give users multiple optional ways of specifying input... If later we find one ore more are not being used, we'll know where to make cuts!

Thanks, Reiko, I just fixed that doxygen issue (and also cleaned up that part of the documentation -- doxygen was running all the lines of code together without linebreaks because they weren't in code blocks).

I did a git pull, cd'd to examples, ran py MultiObjectDemo.py, and it cranks through making the 100 images (taking about 5 min to make them all on my machine), writes out g08_gal.fits and g08_psf.fits files, and then eventually cube.fits and the multi.fits files. Anything else you wanted me to check..?

On 23 May 2012, at 12:50, mssgill wrote:
hi Barney- seemed to work fine!
I did a git pull, cd'd to examples, ran py MultiObjectDemo.py, and it cranks through making the 100 images (taking about 5 min to make them all on my machine), writes out g08_gal.fits and g08_psf.fits files, and then eventually cube.fits and the multi.fits files. Anything else you wanted me to check..?
cheers,
M
---
Reply to this email directly or view it on GitHub:
https://github.com/GalSim-developers/GalSim/pull/161#issuecomment-5882800

Thanks for checking that out, Joe. These scripts take longer than the previous demo scripts because they are making hundreds of galaxy and PSF images. But we definitely need to optimize (Mike already identified one promising optimization related to convolution of Moffat with pixel response to get the PSF images, it's just not merged in yet because he's still testing it out).