-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulations to test PSF models and shear recovery #30
Comments
We might want to launch a new git repository to host the config files and scripts for this sub-project. |
This might be a good start. https://github.com/rmjarvis/DESWL/blob/master/sims/v005.yaml It only outputs galaxies, so we need to add some ability to output the star field. |
Need advice from @mjarvis on which branch of galsim supports the new configuration files. Will master work? |
the config I linked doesn't seem to work. I tried on master and #774, so I think I just need to get the right branch from someone
|
That v005 config file was a strawman that isn't expected to work. In particular, there is currently no implementation of the epoch stuff yet, which will require some development (probably connected to issue #699). However, the error you ran into is probably because you are using an old version of des_wcs.py. You should get the new one in the master branch of GalSim (which will soon be an official release as v1.4). |
I didn't realize this des_wcs.py was part of galsim |
I tried the v004.yaml, with the newer des_wcs.py, and it runs fine, thanks for the pointers. Now for a star field |
I've put some config files here: https://github.com/esheldon/psfsim_config The star field is in psfsim-stars-v001.yaml I could use some help making this suitable for our tests; I've marked TODO some things in the file, but also
|
No. The For useful tests of PSF interpolation, we'll want the various PSF parameters be functions of (x,y) with the meta-parameters fixed in each file. e.g.
Something like this at least. I don't really know what the right sigmas are here, but I think something around this order of magnitude. And if we do this for all the optical terms, then they will couple non-linearly, so a polynomial interpolation won't be trivially correct, so it will be an interesting test. |
I think this was the SV value. But Y1 is about 4. And Y3 will be 1. |
Again, I think I took this from the header of the FITS file for the SV image that we used in the GalSIm example, but I suspect it is different for Y1, and in fact probably varies somewhat from image to image. We should check what the right distribution for this is. |
Those values were from the lsst.yaml file |
Oh. OK. Here are the values for one random Y1 image:
I don't know how stable these values are... |
are those sigmas fractional or absolute? |
Framework for running these sims is here https://github.com/esheldon/psfsim |
They're the normal definition of sigma for a Gaussian random deviate. N(mu, sigma). You can give a mean too if you like; the default is 0. cf. https://github.com/GalSim-developers/GalSim/wiki/Config-Values#float_value |
What I meant, is, is sigma=0.13 a 13% scatter or is that the total scatter around the mean. Since it is |
The So |
I think we can close this issue, since the effort has begun. Let's continue over at https://github.com/esheldon/psfsim_config |
Generate galsim simulations of star fields and associated galaxies.
The motivation is
These are both important: it may be that two algorithms perform equivalently in rho stats but not in shear recovery.
The sims will ideally have the following features
If we produce MEDS files for the galaxies a number of people can run on the simulation immediately without any learning curve.
The star fields should represent a single CCD image, with proper WCS etc., which can be fed into standard packages such as PSFEx, and eventually PIFF
I (Erin) am happy to do the leg work running these sims but I need help generating the galsim configuration files
The text was updated successfully, but these errors were encountered: