next up previous contents
Next: Function gen_quasiperiodic_signal() Up: GRASP Routines: Time-Frequency Methods Previous: Function rescale()   Contents

Function normalize_picture()

void normalize_picture(float **pic, int pdim)

This function is used to normalize the TF map so that the pixel values lie between zero and unity. In other words the maximum value is set to unity and the minimum to zero and the rest of the values are scaled uniformly. This function is useful since the routine plottf() requires the pixels of the TF maps to lie between zero and unity. The arguments are:

float **pic: Input/Output. The pointer to the TF map.
int pdim: Input. The size of the TF map.

Author: R. Balasubramanian, bala@chandra.phys.uwm.edu



Bruce Allen 2000-11-19