Weak Lensing Pipeline Module Documentation

Simulation modules:
AddCRImage Adds cosmic rays to an image
AddNoiseGalSet Adds background noise to a galaxy set
AddNoiseImage Adds background noise to an images
CreateImage Make a blank image
DrawShearMap Create an image of the bias caused by a given shear model
EventCounter Count number of events that have occurred, and stop pipeline after a given point
IdentifyObjects Locate objects within an image and find their centroids
MakeGalSet Create a set of galaxy images using a given model
MakeGalSet_v1 Create a set of galaxy images from lesser resolution images by dithering
PlaceObjects Create a list of object locations and types on an image
RealizeObjects Draw objects on to an image as the specified locations using specified shear model
ReconShearMap Attempt to reconstruct the shear bias map from a provided image
ReduceGalSet Average pixels of a galaxy set to produce a lower-resolution galaxy set
RemoveCR Creates a cosmic-ray-free image from a number of cosmic-ray-full images
SubNoiseGalSet Subtract noise from a galaxy set

KSB
CalcKSBMoments Calculates the flux-weighted elliptical moments of a galaxy set
CalcKSBObjects Calculates the flux-weight elliptical moments for a number of objects

RRG
CalcRRGMoments Calculates the multipole moments and measures shear as defined in RRG

Shapelets
CalcMeanGal Calculates the mean shapelet spectrum for the average galaxy
CalcShearGalSet Calculates the shear of a galaxy set from their shapelet decompositions
DecomposeGalSet Decompose a set of galaxies into their shapelet components
DrawShapeletSet Draw the images of the shapelet basis

GOODS image processing modules:
ReadCatalog Reads SExtractor catalog.
ReadFitsHeader Reads the main Header Data Unit (HDU) of a FITS file.
ReadFitsPostage Reads a subset of a FITS file to an image array, centered on given pixel coordinates.
OptimizeBeta Create a list of optimized shapelet scale factors for each galaxy in a galaxy set

Single variable data handling modules:
CopyVal Copies a variable from one name to another
DumpArray Writes a single array to an ascii file on disk
PrintVal Write a single variable to screen
ValueCollector Collects values during the process() stage, and writes them to the data stream during the global() stage

Data stream modules:
IO_in Read the data stream from disk, and re-rerun all events
IO_out Write the complete data stream to disk