FUNCTION fwhm_g2dchisq, a ; Description: This program is for use within the function "fwhm_g2dfit.pro". ; No parameter checking is carried out to minimise overheads in ; the fitting process. ; ; Author: Dan Bramich (dan.bramich@hotmail.co.uk) ; ; History: ; ; 24/04/2009 - Further module optimisation performed (dmb). ; 06/05/2008 - Module created (dmb). ;Make the common data available ;Use the input parameters to calculate the function values ;Calculate the chi squared ;Return the chi squared