The software package is currently being dramatically improved and updated.
This is a (very) old version, potentially with bugs.
Shapelets web page | Shapelets IDL code | Installation | Help pages | Simulated images |
---|---|---|---|---|
List of routines | ||||
Instrutions for general code | ||||
Instructions for image simulation code |
This routine takes an input catalogue of true galaxy morphologies, and resamples it by repeatedly calling simage_resample_pdf.pro. It writes out a new catalogue containing the shapelet coefficients of fake galaxies. These can then be used to generate a simulated image, using simage_assemble_image.pro. This routine can be called from a shell prompt via the generate_catalogue script.
Random positions are assigned to each of the new galaxies, within the limits set by the input variable n_pix. It can be useful to use these positions (rather than creating new, re-randomised ones) when assembling the simulated image, to make it easier to create "repeated observations" at a later date. The objects' positions assigned by this routine also occupy the sky surrounding the image itself, so that the repeat observations can even be dithered by a small amount.
Other input options include n_obj, the number of fake objects to be generated for the catalogue, and n_max, the shapelet order at which these are to be truncated. I tend to run this routine only once or twice, generating very large catalogues containing very many galaxies. It is then much quicker to create a simulated image after that, drawing objects as required (perhaps randomly) from this one catalogue.
The file Masseyetal2004.shape in shapelets_shims.tar.gz contains 20,000 pre-generated objects that were used to create the simulated images needed for the Weak lensing from space: I, II and III series of SNAP papers. Feel free to use these objects if you'd like.
See also the header below, which has been extracted from the source code for this routine.
Return to the shapelets web page or the code help menu.
Last modified on 02nd May 2008 by Richard Massey. |