Changeset 11687
- Timestamp:
- Feb 7, 2007, 1:58:17 PM (19 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 27 edited
-
astrom/pmAstrometryUtils.c (modified) (3 diffs)
-
astrom/pmAstrometryWCS.c (modified) (4 diffs)
-
camera/pmFPALevel.c (modified) (1 diff)
-
camera/pmFPAMosaic.c (modified) (2 diffs)
-
camera/pmFPARead.c (modified) (3 diffs)
-
camera/pmFPAWrite.c (modified) (2 diffs)
-
camera/pmFPAfileDefine.c (modified) (9 diffs)
-
camera/pmFPAfileFitsIO.c (modified) (3 diffs)
-
camera/pmFPAfileIO.c (modified) (4 diffs)
-
camera/pmFPAview.c (modified) (2 diffs)
-
camera/pmHDUGenerate.c (modified) (5 diffs)
-
concepts/pmConceptsStandard.c (modified) (1 diff)
-
config/pmConfig.c (modified) (3 diffs)
-
config/pmConfigCamera.c (modified) (4 diffs)
-
config/pmConfigRecipes.c (modified) (8 diffs)
-
detrend/pmBias.c (modified) (1 diff)
-
extras/psPipe.c (modified) (3 diffs)
-
imcombine/pmReadoutCombine.c (modified) (1 diff)
-
objects/models/pmModel_GAUSS.c (modified) (4 diffs)
-
objects/models/pmModel_PGAUSS.c (modified) (5 diffs)
-
objects/models/pmModel_QGAUSS.c (modified) (5 diffs)
-
objects/models/pmModel_RGAUSS.c (modified) (1 diff)
-
objects/pmPSF_IO.c (modified) (2 diffs)
-
objects/pmSourceFitModel.c (modified) (4 diffs)
-
objects/pmSourceIO.c (modified) (2 diffs)
-
objects/pmSourceIO_CMP.c (modified) (1 diff)
-
objects/pmSourcePhotometry.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryUtils.c
r10867 r11687 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-0 1-01 21:04:10$9 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-02-07 23:58:17 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 134 134 135 135 if (order < 1) 136 psAbort ("psastro","invalid order");136 psAbort("invalid order"); 137 137 if (order > 3) 138 psAbort ("psastro","invalid order");138 psAbort("invalid order"); 139 139 140 140 // all coeffs and masks initially set to 0 … … 237 237 238 238 if (order < 1) 239 psAbort ("psastro","invalid order");239 psAbort("invalid order"); 240 240 if (order > 3) 241 psAbort ("psastro","invalid order");241 psAbort("invalid order"); 242 242 243 243 // all coeffs and masks initially set to 0 -
trunk/psModules/src/astrom/pmAstrometryWCS.c
r11626 r11687 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2007-02-0 3 06:34:28$9 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2007-02-07 23:58:17 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 58 58 // technically, we can have a plate scale here (fpa->toTPA:dx,dy != 1) 59 59 if (!psPlaneTransformIsDiagonal (fpa->toTPA)) 60 psAbort ("psastro","invalid TPA transformation");60 psAbort("invalid TPA transformation"); 61 61 62 62 pmAstromWCS *wcs = pmAstromWCSfromFPA(fpa, chip, tol); … … 396 396 397 397 if (fpa->toTPA == NULL) 398 psAbort ("wcs","projection defined, tangent-plane not defined");398 psAbort("projection defined, tangent-plane not defined"); 399 399 if (fpa->fromTPA == NULL) 400 psAbort ("wcs","projection defined, tangent-plane not defined");400 psAbort("projection defined, tangent-plane not defined"); 401 401 402 402 // convert from pixels on this chip to pixels on reference chip … … 524 524 // XXX not really: toTPA needs to have unity scale for distortion fitting function 525 525 if (!psPlaneTransformIsDiagonal (fpa->toTPA)) 526 psAbort ("psastro","invalid TPA transformation");526 psAbort("invalid TPA transformation"); 527 527 528 528 // XXX require chip->toFPA->x->nX == chip->toFPA->x->nY -
trunk/psModules/src/camera/pmFPALevel.c
r9621 r11687 30 30 return NameREADOUT; 31 31 default: 32 psAbort( PS_FILE_LINE,"You can't get here; level = %d", level);32 psAbort("You can't get here; level = %d", level); 33 33 } 34 34 return NULL; -
trunk/psModules/src/camera/pmFPAMosaic.c
r11255 r11687 497 497 COPY_WITH_PARITY_DIFFERENCE(U8); 498 498 default: 499 psAbort( __func__,"Should never get here.\n");499 psAbort("Should never get here.\n"); 500 500 } 501 501 … … 526 526 FILL_IN(U8); 527 527 default: 528 psAbort( __func__,"Should never get here.\n");528 psAbort("Should never get here.\n"); 529 529 } 530 530 -
trunk/psModules/src/camera/pmFPARead.c
r11624 r11687 138 138 } 139 139 } else { 140 psAbort( __func__,"Read direction can only be 1 (rows) or 2 (cols).\n");140 psAbort("Read direction can only be 1 (rows) or 2 (cols).\n"); 141 141 } 142 142 … … 204 204 break; 205 205 default: 206 psAbort( __func__,"Unknown read type: %x\n", type);206 psAbort("Unknown read type: %x\n", type); 207 207 } 208 208 … … 258 258 break; 259 259 default: 260 psAbort( __func__,"Unknown read type: %x\n", type);260 psAbort("Unknown read type: %x\n", type); 261 261 } 262 262 -
trunk/psModules/src/camera/pmFPAWrite.c
r11626 r11687 86 86 return &hdu->weights; 87 87 default: 88 psAbort( __func__,"Unknown write type: %x\n", type);88 psAbort("Unknown write type: %x\n", type); 89 89 } 90 90 return NULL; … … 105 105 return pmHDUWriteWeight(hdu, fits); 106 106 default: 107 psAbort( __func__,"Unknown write type: %x\n", type);107 psAbort("Unknown write type: %x\n", type); 108 108 } 109 109 return false; -
trunk/psModules/src/camera/pmFPAfileDefine.c
r11475 r11687 768 768 // a camera config is needed (as source of file rule) 769 769 if (config->cameraName == NULL) { 770 psAbort ("pmFPAfileDefine","camera defined but not cameraName!");770 psAbort("camera defined but not cameraName!"); 771 771 } 772 772 … … 807 807 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, "PPIMAGE"); 808 808 if (!status) 809 psAbort ("psModules","PPIMAGE recipe not found");809 psAbort("PPIMAGE recipe not found"); 810 810 psMetadata *detConstraints = psMetadataLookupPtr (&status, recipe, "DETREND.CONSTRAINTS"); 811 811 if (!status) 812 psAbort ("psModules","DETREND.CONSTRAINTS not found");812 psAbort("DETREND.CONSTRAINTS not found"); 813 813 // XXX allow this and just skip? 814 814 … … 816 816 psMetadata *constraints = psMetadataLookupPtr (&status, detConstraints, typeName); 817 817 if (!status) { 818 psAbort ("psModules","DETREND.CONSTRAINTS for type %s not found", typeName);818 psAbort("DETREND.CONSTRAINTS for type %s not found", typeName); 819 819 } 820 820 psFree(typeName); … … 825 825 while ((item = psMetadataGetAndIncrement (iter)) != NULL) { 826 826 if (item->type != PS_DATA_STRING) { 827 psAbort ("psModules","invalid type for DETREND.CONSTRAINT element");827 psAbort("invalid type for DETREND.CONSTRAINT element"); 828 828 } 829 829 char *option = item->name; // item->name must correspond to a valid detselect option … … 833 833 options->filter = psMetadataLookupPtr (&status, input->concepts, concept); 834 834 if (!status) 835 psAbort ("psModules","failed to find filter (concept %s)", concept);835 psAbort("failed to find filter (concept %s)", concept); 836 836 837 837 } … … 839 839 options->exptime = psMetadataLookupF32 (&status, input->concepts, concept); 840 840 if (!status) 841 psAbort ("psModules","exptime not found (concept %s)", concept);841 psAbort("exptime not found (concept %s)", concept); 842 842 } 843 843 if (!strcasecmp (option, "airmass")) { 844 844 options->airmass = psMetadataLookupF32 (&status, input->concepts, concept); 845 845 if (!status) 846 psAbort ("psModules","airmass not found (concept %s)", concept);846 psAbort("airmass not found (concept %s)", concept); 847 847 } 848 848 # if (0) … … 850 850 options->dettemp = psMetadataLookupF32 (&status, input->concepts, concept); 851 851 if (!status) 852 psAbort ("psModules","dettemp not found (concept %s)", concept);852 psAbort("dettemp not found (concept %s)", concept); 853 853 } 854 854 if (!strcasecmp (option, "version")) { … … 856 856 options->version = psMetadataLookupF32 (&status, input->concepts, concept); 857 857 if (!status) 858 psAbort ("psModules","version not found (concept %s)", concept);858 psAbort("version not found (concept %s)", concept); 859 859 } 860 860 if (!strcasecmp (option, "twilight")) { … … 863 863 options->twilight = psMetadataLookupF32 (&status, input->concepts, concept); 864 864 if (!status) 865 psAbort ("psModules","twilight not found (concept %s)", concept);865 psAbort("twilight not found (concept %s)", concept); 866 866 } 867 867 # endif -
trunk/psModules/src/camera/pmFPAfileFitsIO.c
r11339 r11687 47 47 case PM_FPA_LEVEL_NONE: 48 48 default: 49 psAbort( PS_FILE_LINE,"Should never get here: bad phu level.\n");49 psAbort("Should never get here: bad phu level.\n"); 50 50 } 51 51 … … 87 87 case PM_FPA_LEVEL_NONE: 88 88 default: 89 psAbort( PS_FILE_LINE,"Should never get here: bad phu level.\n");89 psAbort("Should never get here: bad phu level.\n"); 90 90 } 91 91 return NULL; … … 280 280 case PM_FPA_LEVEL_NONE: 281 281 default: 282 psAbort( PS_FILE_LINE,"Should never reach here: invalid file level.");282 psAbort("Should never reach here: invalid file level."); 283 283 } 284 284 -
trunk/psModules/src/camera/pmFPAfileIO.c
r11450 r11687 75 75 } 76 76 default: 77 psAbort ("pmFPAfileIO","fileLevel not correctly set");77 psAbort("fileLevel not correctly set"); 78 78 break; 79 79 } … … 126 126 } 127 127 default: 128 psAbort ("pmFPAfileIO","fileLevel not correctly set");128 psAbort("fileLevel not correctly set"); 129 129 break; 130 130 } … … 800 800 break; 801 801 default: 802 psAbort( PS_FILE_LINE,"You can't get here");802 psAbort("You can't get here"); 803 803 } 804 804 } … … 821 821 break; 822 822 default: 823 psAbort( PS_FILE_LINE,"You can't get here");823 psAbort("You can't get here"); 824 824 } 825 825 } -
trunk/psModules/src/camera/pmFPAview.c
r9710 r11687 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $6 * @date $Date: 200 6-10-21 04:02:36$5 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-02-07 23:58:17 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 289 289 hdu = pmHDUFromCell (cell); 290 290 if (!hdu) { 291 psAbort(" psModules", "a split readout is not covered by the current paradigm");291 psAbort("a split readout is not covered by the current paradigm"); 292 292 } 293 293 if (hdu->blankPHU) -
trunk/psModules/src/camera/pmHDUGenerate.c
r11254 r11687 119 119 break; 120 120 default: 121 psAbort( __func__,"Shouldn't ever get here!\n");121 psAbort("Shouldn't ever get here!\n"); 122 122 } 123 123 … … 381 381 psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section 382 382 if (!mdok || !trimsec) { 383 psAbort( __func__,"Shouldn't ever get here --- CELL.TRIMSEC should have been set above.\n");383 psAbort("Shouldn't ever get here --- CELL.TRIMSEC should have been set above.\n"); 384 384 } 385 385 psList *biassecs = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.BIASSEC"); // Bias secionts 386 386 if (!mdok || !biassecs) { 387 psAbort( __func__,"Shouldn't ever get here --- CELL.BIASSEC should have been set above.\n");387 psAbort("Shouldn't ever get here --- CELL.BIASSEC should have been set above.\n"); 388 388 } 389 389 psListIterator *biassecsIter = psListIteratorAlloc(biassecs, PS_LIST_HEAD, false); // Iterator … … 557 557 return pmHDUGenerateForChip(cell->parent); 558 558 default: 559 psAbort( __func__,"Shouldn't ever get here: check your camera format configuration.\n");559 psAbort("Shouldn't ever get here: check your camera format configuration.\n"); 560 560 } 561 561 return false; … … 605 605 return pmHDUGenerateForFPA(chip->parent); 606 606 default: 607 psAbort( __func__,"Shouldn't ever get here: check your camera format configuration.\n");607 psAbort("Shouldn't ever get here: check your camera format configuration.\n"); 608 608 } 609 609 return false; … … 647 647 } 648 648 default: 649 psAbort( __func__,"Shouldn't ever get here: check your camera format configuration.\n");649 psAbort("Shouldn't ever get here: check your camera format configuration.\n"); 650 650 } 651 651 return false; -
trunk/psModules/src/concepts/pmConceptsStandard.c
r11527 r11687 40 40 return M_PI / 180.0; 41 41 } 42 psAbort( __func__,"Should never ever get here.\n");42 psAbort("Should never ever get here.\n"); 43 43 return NAN; 44 44 } -
trunk/psModules/src/config/pmConfig.c
r11396 r11687 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.7 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 1-30 00:05:16$6 * @version $Revision: 1.77 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-02-07 23:58:17 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1006 1006 FILE *f = fopen (config->argv[Narg], "r"); 1007 1007 if (f == NULL) { 1008 psAbort ("psphot","unable to open specified list file");1008 psAbort("unable to open specified list file"); 1009 1009 } 1010 1010 while (fgets (line, 1024, f) != NULL) { … … 1020 1020 default: 1021 1021 // rigid format, no comments allowed? 1022 psAbort ("pmConfig","error parsing input list file");1022 psAbort("error parsing input list file"); 1023 1023 break; 1024 1024 } -
trunk/psModules/src/config/pmConfigCamera.c
r11624 r11687 118 118 break; 119 119 default: 120 psAbort( PS_FILE_LINE,"Should never get here.\n");120 psAbort("Should never get here.\n"); 121 121 } 122 122 … … 144 144 break; 145 145 default: 146 psAbort( PS_FILE_LINE,"Should never get here.\n");146 psAbort("Should never get here.\n"); 147 147 } 148 148 … … 199 199 break; 200 200 default: 201 psAbort( PS_FILE_LINE,"Should never get here.\n");201 psAbort("Should never get here.\n"); 202 202 } 203 203 … … 252 252 break; 253 253 default: 254 psAbort( PS_FILE_LINE,"Should never get here.\n");254 psAbort("Should never get here.\n"); 255 255 } 256 256 -
trunk/psModules/src/config/pmConfigRecipes.c
r11676 r11687 126 126 if (optionsItem) { 127 127 if (optionsItem->type != PS_DATA_METADATA) { 128 psAbort( __func__,"OPTIONS is not of type METADATA.");128 psAbort("OPTIONS is not of type METADATA."); 129 129 } 130 130 options = psMemIncrRefCounter(optionsItem->data.V); … … 220 220 if (recipesItem) { 221 221 if (recipesItem->type != PS_DATA_METADATA) { 222 psAbort( __func__,"RECIPES is not of type METADATA.");222 psAbort("RECIPES is not of type METADATA."); 223 223 } 224 224 recipes = psMemIncrRefCounter(recipesItem->data.V); … … 256 256 psFree(recipe); // Drop reference 257 257 } else { 258 psAbort ("pmConfig.c","error reading config file %s\n", recipeSource);258 psAbort("error reading config file %s\n", recipeSource); 259 259 } 260 260 } else { … … 284 284 assert(config); 285 285 if ((sourceType != PM_RECIPE_SOURCE_SITE) && (sourceType != PM_RECIPE_SOURCE_CAMERA)) { 286 psAbort ("pmConfig","invalid source for loadRecipes");286 psAbort("invalid source for loadRecipes"); 287 287 } 288 288 if (!source) { … … 308 308 // type mismatch is a serious error 309 309 if (fileItem->type != PS_DATA_STRING) { 310 psAbort ("pmConfig","%s in %s RECIPES is not of type STR", fileItem->name, sourceName);310 psAbort("%s in %s RECIPES is not of type STR", fileItem->name, sourceName); 311 311 } 312 312 … … 323 323 if (currentItem) { 324 324 if (currentItem->type != PS_DATA_METADATA) { 325 psAbort( __func__,"Item from recipes is not of type METADATA.");325 psAbort("Item from recipes is not of type METADATA."); 326 326 } 327 327 current = psMemIncrRefCounter(currentItem->data.V); … … 364 364 // type mismatch is a serious error 365 365 if (item->type != PS_DATA_METADATA) { 366 psAbort ("pmConfig","%s in config arguments RECIPES is not of type METADATA", item->name);366 psAbort("%s in config arguments RECIPES is not of type METADATA", item->name); 367 367 } 368 368 // increment the ref counter to protect the data … … 470 470 // type mismatch is a serious error 471 471 if (item->type != PS_DATA_METADATA) { 472 psAbort ("pmConfig","%s in config arguments OPTIONS is not of type METADATA", item->name);472 psAbort("%s in config arguments OPTIONS is not of type METADATA", item->name); 473 473 } 474 474 // increment the ref counter to protect the data -
trunk/psModules/src/detrend/pmBias.c
r11626 r11687 400 400 break; 401 401 default: 402 psAbort( __func__,"Should never get here!!!\n");402 psAbort("Should never get here!!!\n"); 403 403 } 404 404 -
trunk/psModules/src/extras/psPipe.c
r10610 r11687 177 177 return 0x100; 178 178 default: 179 psAbort ("psPipeClose","unexpected response to waitpid: %d\n", result);179 psAbort("unexpected response to waitpid: %d\n", result); 180 180 } 181 181 break; … … 187 187 default: 188 188 if (result != pipe->pid) { 189 psAbort ("psPipeClose","waitpid error: mis-matched PID (%d vs %d). programming error\n", result, pipe->pid);189 psAbort("waitpid error: mis-matched PID (%d vs %d). programming error\n", result, pipe->pid); 190 190 } 191 191 if (WIFEXITED(wait_status)) { … … 202 202 } 203 203 if (WIFSTOPPED(wait_status)) { 204 psAbort ("psPipeClose","waitpid returns 'stopped' programming error\n");204 psAbort("waitpid returns 'stopped' programming error\n"); 205 205 } 206 206 } -
trunk/psModules/src/imcombine/pmReadoutCombine.c
r10776 r11687 212 212 break; 213 213 default: 214 psAbort( __func__,"Should never get here --- checked params->combine before.\n");214 psAbort("Should never get here --- checked params->combine before.\n"); 215 215 } 216 216 stats->options |= combineStdev; -
trunk/psModules/src/objects/models/pmModel_GAUSS.c
r11527 r11687 100 100 break; 101 101 default: 102 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for beta test", nParam);102 psAbort("invalid parameter %d for beta test", nParam); 103 103 } 104 104 if (fabs(beta[nParam]) > fabs(beta_lim)) { … … 131 131 break; 132 132 default: 133 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for param min test", nParam);133 psAbort("invalid parameter %d for param min test", nParam); 134 134 } 135 135 if (params[nParam] < params_min) { … … 162 162 break; 163 163 default: 164 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for param max test", nParam);164 psAbort("invalid parameter %d for param max test", nParam); 165 165 } 166 166 if (params[nParam] > params_max) { … … 170 170 return true; 171 171 default: 172 psAbort ("psModules.pmModel_GAUSS","invalid choice for limits");173 } 174 psAbort ("psModules.pmModel_GAUSS","should not reach here");172 psAbort("invalid choice for limits"); 173 } 174 psAbort("should not reach here"); 175 175 return false; 176 176 } -
trunk/psModules/src/objects/models/pmModel_PGAUSS.c
r11527 r11687 102 102 break; 103 103 default: 104 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for beta test", nParam);104 psAbort("invalid parameter %d for beta test", nParam); 105 105 } 106 106 if (fabs(beta[nParam]) > fabs(beta_lim)) { … … 133 133 break; 134 134 default: 135 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for param min test", nParam);135 psAbort("invalid parameter %d for param min test", nParam); 136 136 } 137 137 if (params[nParam] < params_min) { … … 164 164 break; 165 165 default: 166 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for param max test", nParam);166 psAbort("invalid parameter %d for param max test", nParam); 167 167 } 168 168 if (params[nParam] > params_max) { … … 172 172 return true; 173 173 default: 174 psAbort ("psModules.pmModel_GAUSS","invalid choice for limits");175 } 176 psAbort ("psModules.pmModel_GAUSS","should not reach here");174 psAbort("invalid choice for limits"); 175 } 176 psAbort("should not reach here"); 177 177 return false; 178 178 } … … 262 262 263 263 if (isnan(radius)) 264 psAbort ("psphot.model","error in code: radius is NaN");264 psAbort("error in code: radius is NaN"); 265 265 if (radius < 0) 266 psAbort ("psphot.model","error in code: radius is negative");266 psAbort("error in code: radius is negative"); 267 267 268 268 return (radius); -
trunk/psModules/src/objects/models/pmModel_QGAUSS.c
r11527 r11687 120 120 break; 121 121 default: 122 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for beta test", nParam);122 psAbort("invalid parameter %d for beta test", nParam); 123 123 } 124 124 if (fabs(beta[nParam]) > fabs(beta_lim)) { … … 154 154 break; 155 155 default: 156 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for param min test", nParam);156 psAbort("invalid parameter %d for param min test", nParam); 157 157 } 158 158 if (params[nParam] < params_min) { … … 188 188 break; 189 189 default: 190 psAbort ("psModules.pmModel_GAUSS","invalid parameter %d for param max test", nParam);190 psAbort("invalid parameter %d for param max test", nParam); 191 191 } 192 192 if (params[nParam] > params_max) { … … 196 196 return true; 197 197 default: 198 psAbort ("psModules.pmModel_GAUSS","invalid choice for limits");199 } 200 psAbort ("psModules.pmModel_GAUSS","should not reach here");198 psAbort("invalid choice for limits"); 199 } 200 psAbort("should not reach here"); 201 201 return false; 202 202 } … … 321 321 322 322 if (isnan(radius)) 323 psAbort ("psphot.model","error in code: radius is NaN");323 psAbort("error in code: radius is NaN"); 324 324 325 325 return (radius); -
trunk/psModules/src/objects/models/pmModel_RGAUSS.c
r9775 r11687 219 219 220 220 if (isnan(radius)) 221 psAbort ("psphot.model","error in code: radius is NaN");221 psAbort("error in code: radius is NaN"); 222 222 223 223 return (radius); -
trunk/psModules/src/objects/pmPSF_IO.c
r11292 r11687 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-26 00:05:18$8 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-02-07 23:58:17 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 87 87 int nPar = psMetadataLookupS32 (&status, metadata, "PSF_MODEL_NPAR"); 88 88 if (nPar != pmModelParameterCount (psf->type)) 89 psAbort ("read PSF" ,"mismatch model par count");89 psAbort("mismatch model par count"); 90 90 91 91 // un-fitted terms, not in the Metadata, are left NULL -
trunk/psModules/src/objects/pmSourceFitModel.c
r10259 r11687 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $9 * @date $Date: 200 6-11-29 02:41:31$8 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-02-07 23:58:17 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 112 112 pmModelFunc modelFunc = pmModelFunc_GetFunction (model->type); 113 113 if (!modelFunc) 114 psAbort ("pmSourceFitModel","invalid model function");114 psAbort("invalid model function"); 115 115 pmModelLimits checkLimits = pmModelLimits_GetFunction (model->type); 116 116 if (!checkLimits) 117 psAbort ("pmSourceFitModel","invalid model limits function");117 psAbort("invalid model limits function"); 118 118 119 119 // create the minimization constraints … … 146 146 break; 147 147 default: 148 psAbort ("pmSourceFitModel","invalid fitting mode");148 psAbort("invalid fitting mode"); 149 149 } 150 150 // force the floating parameters to fall within the contraint ranges … … 448 448 break; 449 449 default: 450 psAbort ("pmSourceFitModel","invalid fitting mode");450 psAbort("invalid fitting mode"); 451 451 } 452 452 -
trunk/psModules/src/objects/pmSourceIO.c
r11303 r11687 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 1-26 04:40:42$5 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-02-07 23:58:17 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 494 494 dataname = pmFPAfileNameFromRule (file->extrule, file, view); 495 495 if (!dataname) 496 psAbort ("pmSourceIO","cannot determine data EXTNAME");496 psAbort("cannot determine data EXTNAME"); 497 497 } 498 498 if (!psFitsMoveExtName (file->fits, dataname)) { 499 psAbort ("pmSourceIO","cannot find data extension %s in %s", dataname, file->filename);499 psAbort("cannot find data extension %s in %s", dataname, file->filename); 500 500 } 501 501 sources = pmSourcesReadCMF (file->fits, hdu->header); -
trunk/psModules/src/objects/pmSourceIO_CMP.c
r11582 r11687 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-02-0 2 19:55:15$5 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-02-07 23:58:17 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii -
trunk/psModules/src/objects/pmSourcePhotometry.c
r11527 r11687 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-02-0 1 03:15:13$5 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-02-07 23:58:17 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 507 507 break; 508 508 default: 509 psAbort ("models/objects","invalid term for pmSourceWeight");509 psAbort("invalid term for pmSourceWeight"); 510 510 } 511 511
Note:
See TracChangeset
for help on using the changeset viewer.
