M3_format_MADCAP3.h

00001 /*******************************************************************************
00002 *   M3:  M3_format_MADCAP3.h                                                   *
00003 *                                                                              *
00004 *   Version 2.0 April 2007                                                     *
00005 *                                                                              *
00006 *   Copyright (C) 2004  C.M. Cantalupo                                         *
00007 *                                                                              *
00008 *   This program is free software; you can redistribute it and/or modify       *
00009 *   it under the terms of the GNU General Public License as published by       *
00010 *   the Free Software Foundation; either version 2 of the License, or          *
00011 *   (at your option) any later version.                                        *
00012 *                                                                              *
00013 *   This program is distributed in the hope that it will be useful,            *
00014 *   but WITHOUT ANY WARRANTY; without even the implied warranty of             *
00015 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
00016 *   GNU General Public License for more details.                               *
00017 *                                                                              *
00018 *   You should have received a copy of the GNU General Public License          *
00019 *   along with this program; if not, write to the Free Software                *
00020 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  *
00021 *                                                                              *
00022 *******************************************************************************/
00023 
00024 
00025 
00026 #ifndef _H_M3_format_MADCAP3
00027 #define _H_M3_format_MADCAP3
00028 
00029 
00030 #include "M3.h"
00031 
00032 typedef struct
00033 {
00034   int template;
00035   int partial;
00036   char endian;
00037 } M3_FormatStruct_MADCAP3;
00038 
00039 
00040 void M3_File_parseFormatString_MADCAP3( M3_File *theFile, M3_FormatStruct_MADCAP3 *out );
00041 void M3_File_readHeader_MADCAP3( M3_File *theFile, void *data );
00042 void M3_File_readData_MADCAP3( M3_File *theFile, void *readArg, void *data );
00043 
00044 
00045 
00046 void M3_File_readHeader_MADCAP3_tod( M3_File *theFile, M3_TODheader *header );
00047 void M3_File_readHeader_MADCAP3_toc( M3_File *theFile, M3_TOCheader *header );
00048 void M3_File_readHeader_MADCAP3_pointing( M3_File *theFile, M3_PointingHeader *header );
00049 void M3_File_readHeader_MADCAP3_noise( M3_File *theFile, M3_NoiseHeader *header );
00050 void M3_File_readHeader_MADCAP3_filter( M3_File *theFile, M3_FilterHeader *header );
00051 void M3_File_readHeader_MADCAP3_map( M3_File *theFile, M3_MapHeader *header );
00052 void M3_File_readHeader_MADCAP3_mask( M3_File *theFile, M3_MaskHeader *header );
00053 void M3_File_readHeader_MADCAP3_coord( M3_File *theFile, M3_CoordHeader *header );
00054 void M3_File_readHeader_MADCAP3_spectrum( M3_File *theFile, M3_SpectrumHeader *header );
00055 void M3_File_readHeader_MADCAP3_bin( M3_File *theFile, M3_BinHeader *header );
00056 void M3_File_readHeader_MADCAP3_bps( M3_File *theFile, M3_BPSheader *header );
00057 void M3_File_readHeader_MADCAP3_fisher( M3_File *theFile, M3_FisherHeader *header );
00058 void M3_File_readHeader_MADCAP3_sparse( M3_File *theFile, M3_SparseHeader *header );
00059 
00060 void M3_File_readData_MADCAP3_tod( M3_File *theFile, M3_Interval *readInterval, double *tod );
00061 void M3_File_readData_MADCAP3_toc( M3_File *theFile, M3_Interval *readInterval, double *toc );
00062 void M3_File_readData_MADCAP3_pointing( M3_File *theFile, M3_Interval *readInterval, M3_PointingEl *pointing );
00063 void M3_File_readData_MADCAP3_noise( M3_File *theFile, double *itt_noise );
00064 void M3_File_readData_MADCAP3_filter( M3_File *theFile, M3_FilterEl *filter );
00065 void M3_File_readData_MADCAP3_map( M3_File *theFile, int32_t *numPixel, M3_MapEl *map );
00066 void M3_File_readData_MADCAP3_mask( M3_File *theFile, int32_t *numPixel, M3_MapEl *mask );
00067 void M3_File_readData_MADCAP3_coord( M3_File *theFile, int32_t *numPixel, M3_CoordEl *coord );
00068 void M3_File_readData_MADCAP3_spectrum( M3_File *theFile, int32_t *lmax, double *spectrum );
00069 void M3_File_readData_MADCAP3_bin( M3_File *theFile, M3_BinEl *bin );
00070 void M3_File_readData_MADCAP3_bps( M3_File *theFile, M3_BPSel *bps );
00071 void M3_File_readData_MADCAP3_fisher( M3_File *theFile, double *fisher );
00072 void M3_File_readData_MADCAP3_sparse( M3_File *theFile, M3_SparsePixelMatrixData *sparseData );
00073 
00074 
00075 #endif

Generated on Mon Nov 24 10:05:12 2008 for M3 by  doxygen 1.5.3-20071008