Main Page | Data Structures | File List | Data Fields | Globals

printdata.c File Reference

#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "commands.h"
#include "common.h"

Include dependency graph for printdata.c:

Include dependency graph

Functions

int pf_printdata (struct pf_data *d, char *fn, int norm)
 Print the data set.
int pf_printpeaks (struct pf_data *d, char *fn, enum pf_peak_sort srt)
 Print the peaks.
int pf_printpeak (struct pf_data *d, struct pf_cal_fit *cal, int peak, char *fn)
 Print data about a given peak.
int pf_printcal (struct pf_data *d, struct pf_cal_fit *f, char *fn)
 Print data about the calibration fit.

Function Documentation

int pf_printcal struct pf_data d,
struct pf_cal_fit f,
char *  fn
 

Print data about the calibration fit.

Parameters:
[in] d The data set
[in] f The calibration fit
[in] fn The output file name
Returns:
Boolean status flag

int pf_printdata struct pf_data d,
char *  fn,
int  norm
 

Print the data set.

Parameters:
[in] d The data set
[in] fn The output file name
[in] norm Flag indicating whether to print normalized data
Returns:
Boolean status flag

int pf_printpeak struct pf_data d,
struct pf_cal_fit cal,
int  peak,
char *  fn
 

Print data about a given peak.

Parameters:
[in] d The data set
[in] cal The calibration fit
[in] peak The peak about which to print data
[in] fn The output file name
Returns:
Boolean status flag

Here is the call graph for this function:

int pf_printpeaks struct pf_data d,
char *  fn,
enum pf_peak_sort  srt
 

Print the peaks.

Parameters:
[in] d The data set
[in] fn The output file name
[in] srt Peak sort type
Returns:
Boolean status flag


Generated on Sun Feb 20 17:46:45 2005 for peakfinder-0.1 by  doxygen 1.3.9.1