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

massspec/stat.h

00001 #ifndef _STAT_H_ 00002 #define _STAT_H_ 00003 00004 /* Copyright (c) Kyriacos Leptos and the President and Fellows of Harvard University 00005 Release Date: 2004-11-01 00006 Part of the MapQuant suite library "massspec.lib" 00007 */ 00008 00009 enum { EXCLUDE_ZEROS = 0, 00010 INCLUDE_ZEROS = 1}; 00011 00012 struct DescriptiveStatistics 00013 { 00014 float mean; 00015 float median; 00016 float sample_variance; 00017 float avg_absolute_deviation_from_median; 00018 float median_absolute_deviation_from_median; 00019 }; 00020 00021 typedef struct DescriptiveStatistics DescriptiveStatistics; 00022 00032 DescriptiveStatistics Stat_getDescriptiveStatForFloatArray(float* array, int start, int stop); 00033 00047 DescriptiveStatistics Stat_getDescriptiveStatForFloatMatrix(float** matrix, int lri, int hri, int lci, int hci); 00048 00049 void Stat_fprint(FILE* fp, DescriptiveStatistics* stat); 00050 00051 00052 #endif 00053

Generated on Sun Feb 13 01:05:59 2005 for MapQuant by doxygen 1.3.7