Changeset 10966 for trunk/psModules/src/camera/pmFPAfileDefine.h
- Timestamp:
- Jan 8, 2007, 12:30:21 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.h
r10084 r10966 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $10 * @date $Date: 200 6-11-19 01:55:24$9 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-01-08 22:30:21 $ 11 11 * 12 12 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii … … 22 22 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 23 23 // reference count is held by the config->files metadata. 24 pmFPAfile *pmFPAfileDefineInput (pmConfig *config, pmFPA *fpa, c har *name);24 pmFPAfile *pmFPAfileDefineInput (pmConfig *config, pmFPA *fpa, const char *name); 25 25 26 26 // load the pmFPAfile information from the camera configuration data … … 28 28 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 29 29 // reference count is held by the config->files metadata. 30 pmFPAfile *pmFPAfileDefineOutput (pmConfig *config, pmFPA *fpa, c har *name);30 pmFPAfile *pmFPAfileDefineOutput (pmConfig *config, pmFPA *fpa, const char *name); 31 31 32 32 // look for the given argname on the argument list. find the give filename from the file rules … … 34 34 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 35 35 // reference count is held by the config->files metadata. 36 pmFPAfile *pmFPAfileDefineFromArgs (bool *found, pmConfig *config, c har *filename,char *argname);36 pmFPAfile *pmFPAfileDefineFromArgs (bool *found, pmConfig *config, const char *filename, const char *argname); 37 37 38 38 // look for the given argname on the argument list. find the give filename from the file rules … … 40 40 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 41 41 // reference count is held by the config->files metadata. 42 pmFPAfile *pmFPAfileDefineFromConf (bool *found, pmConfig *config, c har *filename);42 pmFPAfile *pmFPAfileDefineFromConf (bool *found, pmConfig *config, const char *filename); 43 43 44 44 // look for the given argname on the argument list. find the give filename from the file rules … … 46 46 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 47 47 // reference count is held by the config->files metadata. 48 pmFPAfile *pmFPAfileDefineFromDetDB (bool *found, pmConfig *config, char *filename, pmFPA *input, pmDetrendType type); 48 pmFPAfile *pmFPAfileDefineFromDetDB (bool *found, pmConfig *config, const char *filename, 49 pmFPA *input, pmDetrendType type); 49 50 50 51 // create a new output pmFPAfile based on an existing FPA … … 52 53 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 53 54 // reference count is held by the config->files metadata. 54 pmFPAfile *pmFPAfileDefineFromFPA (pmConfig *config, pmFPA *src, int xBin, int yBin, c har *filename);55 pmFPAfile *pmFPAfileDefineFromFPA (pmConfig *config, pmFPA *src, int xBin, int yBin, const char *filename); 55 56 56 57 // create a new output pmFPAfile based on an existing FPA … … 59 60 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 60 61 // reference count is held by the config->files metadata. 61 pmFPAfile *pmFPAfileDefineNewCamera (pmConfig *config, char *filename); 62 pmFPAfile *pmFPAfileDefineNewCamera (pmConfig *config, const char *filename); 63 64 /// Create a new output pmFPAfile based upon a chip mosaic of an existing FPA 65 /// 66 /// The new pmFPAfile is inserted into the config->files metadata, freed and returned; so that the user does 67 /// not have to (and should not!) free the result. 68 pmFPAfile *pmFPAfileDefineChipMosaic(pmConfig *config, ///< Configuration data 69 pmFPA *src, ///< Source FPA 70 const char *filename ///< Output (root) filename 71 ); 72 73 /// Create a new output pmFPAfile based upon an FPA mosaic of an existing FPA 74 /// 75 /// The new pmFPAfile is inserted into the config->files metadata, freed and returned; so that the user does 76 /// not have to (and should not!) free the result. 77 pmFPAfile *pmFPAfileDefineFPAMosaic(pmConfig *config, ///< Configuration data 78 pmFPA *src, ///< Source FPA 79 const char *filename ///< Output (root) filename 80 ); 62 81 63 82 // create a file with the given name, assign it type "INTERNAL", and supply it with an image 64 83 // of the requested dimensions. (image only, mask and weight are ignored) 65 pmReadout *pmFPAfileDefineInternal (psMetadata *files, c har *name, int Nx, int Ny, int type);84 pmReadout *pmFPAfileDefineInternal (psMetadata *files, const char *name, int Nx, int Ny, int type); 66 85 67 86 // delete the INTERNAL file of the given name (if it exists) 68 bool pmFPAfileDropInternal (psMetadata *files, c har *name);87 bool pmFPAfileDropInternal (psMetadata *files, const char *name); 69 88 70 89 // look for the given argname on the argument list. find the give filename from the file rules … … 72 91 // Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only 73 92 // reference count is held by the config->files metadata. 74 pmFPAfile *pmFPAfileDefineSingleFromArgs (bool *found, pmConfig *config, char *filename, char *argname, int entry); 93 pmFPAfile *pmFPAfileDefineSingleFromArgs (bool *found, pmConfig *config, const char *filename, 94 const char *argname, int entry); 95 75 96 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
