Changeset 10952
- Timestamp:
- Jan 5, 2007, 6:41:08 PM (19 years ago)
- Location:
- trunk/pswarp/src
- Files:
-
- 1 added
- 6 edited
-
pswarp.c (modified) (1 diff)
-
pswarp.h (modified) (1 diff)
-
pswarpCleanup.c (modified) (1 diff)
-
pswarpDataLoad.c (modified) (2 diffs)
-
pswarpDefine.c (modified) (1 diff)
-
pswarpParseCamera.c (modified) (1 diff)
-
pswarpTransformReadout.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarp.c
r10946 r10952 7 7 fprintf (stderr, " [-mask mask.fits] : provide a corresponding mask image\n"); 8 8 fprintf (stderr, " [-weight weight.fits] : provide a corresponding weight image (pixel varience)\n"); 9 psErrorStackPrint(stderr, " ");9 psErrorStackPrint(stderr, "\n"); 10 10 exit (2); 11 11 } -
trunk/pswarp/src/pswarp.h
r10946 r10952 13 13 # define PSWARP_RECIPE "PSWARP" // Name of the recipe to use 14 14 15 pmConfig *pswarpArguments (int argc, char **argv); 16 bool pswarpParseCamera (pmConfig *config); 17 bool pswarpDefine (pmConfig *config); 18 bool pswarpDataLoad (pmConfig *config); 19 bool pswarpDataSave (pmConfig *config); 20 void pswarpCleanup (pmConfig *config); -
trunk/pswarp/src/pswarpCleanup.c
r10946 r10952 3 3 void pswarpCleanup (pmConfig *config) { 4 4 5 psFree (refs);6 5 psFree (config); 7 6 -
trunk/pswarp/src/pswarpDataLoad.c
r10946 r10952 17 17 if (!input) { 18 18 psError(PSWARP_ERR_CONFIG, true, "Can't find input data!\n"); 19 return false; 20 } 21 22 // select the output readout 23 pmFPAview *outView = pmFPAviewAlloc (0); 24 outView->chip = 0; 25 outView->cell = 0; 26 outView->readout = 0; 27 pmReadout *output = pmFPAfileThisReadout (config->files, outView, "PSWARP.OUTPUT"); 28 if (!output) { 29 psError(PSWARP_ERR_CONFIG, true, "Can't find output data!\n"); 19 30 return false; 20 31 } … … 45 56 if (! readout->data_exists) { continue; } 46 57 47 pswarpConvertReadout ( readout, config);58 pswarpConvertReadout (output, readout, config); 48 59 49 60 pmFPAfileIOChecks (config, view, PM_FPA_AFTER); -
trunk/pswarp/src/pswarpDefine.c
r10946 r10952 30 30 } 31 31 32 pmFPAfileCreate (output, view , config);32 pmFPAfileCreate (output, view); 33 33 34 34 psFree (view); -
trunk/pswarp/src/pswarpParseCamera.c
r10832 r10952 11 11 return false; 12 12 } 13 14 // select recipe options supplied on command line15 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSWARP_RECIPE);16 13 17 14 // the input skycell is a required argument: it defines the output image
Note:
See TracChangeset
for help on using the changeset viewer.
