mrgeorge / speclens

Simulate galaxy images and velocity maps for spectroscopic weak lensing
2 stars 0 forks source link

Clear up redundancy between makeGalVMap and makeGalVMap2 in sim.py #6

Open mrgeorge opened 10 years ago

mrgeorge commented 10 years ago

There are currently 2 approaches used to making flux-weighted, psf-convolved velocity maps. One uses galsim to do psf-convolution and the other just generates a pixel matrix and does the convolution in real-space with scipy. Ideally they should agree but the last time I checked there were some problems with the galsim version.

I think we ideally want to keep the functionality of both around for testing, but this can probably be done in a cleaner way.