Sigmund/sigmund.c
/*********** Routines to analyze a window into sinusoidal peaks *************/
Routines to analyze a window into sinusoidal peaks
Routines to analyze a window into sinusoidal peaks
int sigmund_cmp_freq(const void *p1, const void *p2)
  {
    if ((*(t_peak **)p1)->p_freq > (*(t_peak **)p2)->p_freq)
      return (1);
    else if ((*(t_peak **)p1)->p_freq < (*(t_peak **)p2)->p_freq)
      return (-1);
    else return (0);
  }
int sigmund_cmp_freq ( const void * p1 , const void * p2 ) { if ( ( * ( t_peak * * ) p1 ) -> p_freq > ( * ( t_peak * * ) p2 ) -> p_freq ) return ( 1 ) ; else if ( ( * ( t_peak * * ) p1 ) -> p_freq < ( * ( t_peak * * ) p2 ) -> p_freq ) return ( -1 ) ; else return ( 0 ) ; }
Routines to analyze a window into sinusoidal peaks
Routines to analyze a window into sinusoidal peaks