CalcMeanGal

Calculates the mean shape of unbiased galaxies by averaging the shapelet sets for all unbiased galaxies (which must be provided).

Parameters
NameTypeDescription

Inputs
NameTypeDescription
GalSet/UnbiasedCount int Number of unbiased galaxy images.
GalSet/ShapeletNumCoef int Number of shapelet coefficients in both the n1 and n2 directions.
GalSet/UnbiasedShapes double* Array of shapelet decompositions for unbiased galaxies.

Outputs
NameTypeDescription
GalSet/ShapeletMean double* Single shapelet decomposition of the average unbiased galaxy.