UNDER DEVELOPMENT

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

Help for "simage_make_analytic_object" routine:

Given a desired ellipticity, magnitude and radial profile, generates a pixellated image of one simulated galaxy.

This routine is a bit like shapelets_recomp.pro, but it creates a pixellated image containing an object with a known, analytic radial profile. Current optional include Gaussian or exponential profiles. The de Vaucouleurs and Moffat options are buggy.

This routine also returns various parameters concerning the location of the object within an image, and its shape moments that get written to the fake SExtractor catalogue that is created with every simulated image.

See also the header below, which has been extracted from the source code for this routine.

; NAME: ; SIMAGE_MAKE_ANALYTIC_OBJECT ; ; CATEGORY: ; Shapelet simulated images. ; ; PURPOSE: ; This module manufactures one object for the image simulations, using a ; radially symmetric, analytic profile (such as de Vaucouleurs or exponential ; disc) for its morphology. The size, magnitude and ellipticity are drawn from ; a real galaxy template - or randomised from a Gaussian distribution of ; ellipticities with width sigmae. The object is pixellated using various input ; parameters. ; ; LIMITATION: ; Unable to add astrometric distortions to these analytic profiles. ; ; INPUTS: ; decomp - Cartesian shapelet decomp structure of a template real ; galaxy. ; morphology - Which parameterised galaxy profile? ; 1: de Vaucouleurs e^(-r^(1/4)) ; 2: Exponential disc e^(-r) ; 3: Gaussian e^(-r^2/2) ; 4: Moffat ; ; OPTIONAL INPUTS: ; sigmae - rms galaxy ellipticity (before shear) with parameterised ; galaxy shapes. ; gamma - Weak lensing shear on all galaxies [gamma1,gamma2]. ; psf - Cartesian decomp structure representing PSF. Will then do ; convolvution automatically. Stars are just this PSF. ; seed - Seed for random number generator. ; ; OUTPUTS: ; recomp - One object (with an analytic profile) in a postage stamp image. ; shapeinfo - A structure containing object properties for inclusion in the ; pre-noise catalogue. ; ; MODIFICATION HISTORY: ; Jun 03 - Written by Richard Massey

Return to the shapelets web page or the code help menu.


Last modified on 02nd May 2008 by Richard Massey.

Valid HTML 4.01!