#include "structs.h" /************************************************************************\ * Normalize the derivative images. * \************************************************************************/ void dnormalize (int ix, int iy, int *ia, int npars, struct derivs *hdf, unsigned long totsubsamps) { int n; for (n=1; n <= npars; n++) { if (ia[n] == 1) hdf->dpm[n][iy][ix] = hdf->dpm[n][iy][ix]/totsubsamps; }; }