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

massspec/map_io.h File Reference

More...

Go to the source code of this file.

Enumerations

enum  { MAP2D_MS_SCANS_ONLY, MAP2D_ALL_SCANS }
enum  { MAP2D_DATA_TEXT, MAP2D_DATA_BINARY }

Functions

char * Map2D_getFullHeaderName (Experiment *expmnt, char *szSession, char *type)
char * Map2D_getFullDataName (Experiment *expmnt, char *szSession, char *type)
int updateRawMapIndex (Experiment exp, char *szNewMapname)
char * Map2D_rAssembleDirectory (Experiment *expmnt, char *szMapname)
char * Map2D_pAssembleDirectory (Experiment *expmnt, char *szMapname)
void createDirectoryForRawMap (Experiment exp, char *szMapname)
void createDirectoryForProcMap (Experiment exp, char *szMapname)
Rectangle4i Map2D_aLoadBorders (char *szFullname)
Rectangle4i Map2D_sLoadBorders (Experiment *expmnt, char *szSession)
char * Map2D_sLoadProcScriptName (Experiment *expmnt, char *szSession)
int Map2D_aLoadHeader (Map2D *map, char *szMap2DHeaderFilename)
int Map2D_sLoadHeader (Map2D *map, Experiment *expmnt, char *szSessionName)
int Map2D_snLoadHeader (Map2D *map, Experiment *expmnt, char *szSessionName, char *name)
int Map2D_sntLoadHeader (Map2D *map, Experiment *expmnt, char *szSessionName, char *tile_flag, char *type_flag)
int auxLoadMap2DAbundanceSubMatrixAtIndex (char *szMapFilename, Rectangle4i filerect, Rectangle4i subrect, Map2D *MAP, int rt_i, int mz_j)
int auxLoadMap2DAbundanceMatrix (char *szMapFilename, Map2D *MAP)
int auxLoadMap2DAbundanceSubMatrix (char *szMapFilename, Rectangle4i filerect, Rectangle4i subrect, Map2D *MAP)
int Map2D_load (Map2D *map, char *szMap2D)
int Map2D_aLoad (Map2D *map, char *filename)
int Map2D_pLoad (Map2D *map, char *szPath, char *szName)
int Map2D_ptLoad (Map2D *map, char *szPath, char *szName, char *szType)
int Map2D_snLoad (Map2D *map, Experiment *expmnt, char *szSession, char *szType)
int Map2D_sntLoad (Map2D *map, Experiment *expmnt, char *session, char *name, char *tile)
int Map2D_loadMultiple (char *filename, char *tile_flag, Map2D *map)
int Map2D_loadFromFolder (char *filename, int flag, Map2D *map)
int Map2D_tLoad (Map2D *map, char *filename, char *flag)
int Map2D_loadFromMQXML (Map2D *map, Experiment *expmnt, Rectangle4i *subrect)
int Map2D_loadFromOpenRawMSArchive (Map2D *map, Experiment *expmnt, Rectangle4i *subrect)
int Map2D_loadFromMSArchiveWithMargins (Map2D *map, Experiment *expmnt, int margin_length)
int Map2D_aSaveHeader (Map2D *map, char *szMap2DHeaderFilename)
int auxSaveMap2DAbundanceMatrix (char *szMapFilename, Map2D *MAP)
int fpackFloatMatrix (FILE *fp, float **matrix, int r1, int r2, int c1, int c2)
int Map2D_aSave (Map2D *map, char *szMapFilename)
int Map2D_snSave (Map2D *map, Experiment *expmnt, char *szSession, char *szType)
void Map2D_pfSave (Map2D *map, char *szPath, char *szFilename)
int Map2D_saveAbundanceMatrix (Map2D *map, char *szMapFilename)
int Map2D_saveMultiple (Map2D *map, char *szMap2D, char *tile_flag)
void Map2D_saveInFolder (char *szMap2D, int flag, Map2D *map)
int Map2D_sntSave (Map2D *map, Experiment *expmnt, char *session, char *name, char *tile)
int Map2D_sntClean (Experiment *expmnt, char *session, char *name, char *tile)
int Map2D_aRemove (char *filename)
int Map2D_snRemove (Experiment *expmnt, char *session, char *name)
int Map2D_sntRemove (Experiment *expmnt, char *session, char *name, char *tile)

Variables

int MAP2D_SCAN_MODE
int MAP2D_DATA_TYPE
int(* Map2D_loadFromRawFile )(Map2D *map, Experiment *expmnt, Rectangle4i *subrect)


Detailed Description

Author:
Kyriacos C. Leptos
Date:
2004-05-04
A file that has the definitions of function to load and save Map2D

Function Documentation

int Map2D_aLoadHeader Map2D map,
char *  szMap2DHeaderFilename
 

Parameters:
map the map to be loaded
Returns:
returns 1 if successful 0 otherwise

int Map2D_snLoadHeader Map2D map,
Experiment expmnt,
char *  szSessionName,
char *  name
 

When calculating statistics of a map if the map is representing a segment then not all of its points are members of the map, so the statistics will be skewed

Parameters:
map the map to be loaded
Returns:
returns a structure of Descriptive Statistics

int Map2D_sntLoadHeader Map2D map,
Experiment expmnt,
char *  session,
char *  name,
char *  tile
 

When calculating statistics of a map if the map is representing a segment then not all of its points are members of the map, so the statistics will be skewed

Parameters:
map the map to be loaded
Returns:
returns a structure of Descriptive Statistics


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