Changeset 39409 for branches/eam_branches/ohana.20160226/src/libdvo
- Timestamp:
- Feb 26, 2016, 8:31:22 PM (10 years ago)
- Location:
- branches/eam_branches/ohana.20160226/src/libdvo
- Files:
-
- 20 edited
-
include/libdvo_astro.h (modified) (1 diff)
-
src/AstromOffsetMapIO.c (modified) (3 diffs)
-
src/AstromOffsetMapUtils.c (modified) (1 diff)
-
src/dvo_catalog_chipcoords.c (modified) (1 diff)
-
src/dvo_catalog_mef.c (modified) (1 diff)
-
src/dvo_catalog_raw.c (modified) (1 diff)
-
src/dvo_convert.c (modified) (6 diffs)
-
src/dvo_convert_PS1_DEV_1.c (modified) (2 diffs)
-
src/dvo_convert_PS1_DEV_2.c (modified) (2 diffs)
-
src/dvo_convert_PS1_REF.c (modified) (2 diffs)
-
src/dvo_convert_PS1_SIM.c (modified) (4 diffs)
-
src/dvo_convert_PS1_V1.c (modified) (2 diffs)
-
src/dvo_convert_PS1_V2.c (modified) (2 diffs)
-
src/dvo_convert_PS1_V3.c (modified) (2 diffs)
-
src/dvo_convert_PS1_V4.c (modified) (2 diffs)
-
src/dvo_convert_PS1_V5.c (modified) (5 diffs)
-
src/dvo_convert_panstarrs_DEV_0.c (modified) (2 diffs)
-
src/dvo_convert_panstarrs_DEV_1.c (modified) (2 diffs)
-
src/dvo_photcode_ops.c (modified) (22 diffs)
-
src/dvosorts.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20160226/src/libdvo/include/libdvo_astro.h
r39245 r39409 68 68 AstromOffsetMap **map; 69 69 int *imageIDtoTableSeq; 70 int MaxImageID;71 int MaxTableID;70 unsigned int MaxImageID; 71 unsigned int MaxTableID; 72 72 } AstromOffsetTable; 73 73 -
branches/eam_branches/ohana.20160226/src/libdvo/src/AstromOffsetMapIO.c
r38986 r39409 148 148 AstromOffsetTable *AstromOffsetMapToTable(AstromOffsetMap_Disk_6x6 *map_disk, off_t Nmap) { 149 149 150 int i, j, k; 150 unsigned int i; 151 int j, k; 151 152 152 153 AstromOffsetTable *table = NULL; … … 157 158 158 159 // find the max value of imageID 159 int MaxTableID = 0;160 int MaxImageID = 0;160 unsigned int MaxTableID = 0; 161 unsigned int MaxImageID = 0; 161 162 for (i = 0; i < Nmap; i++) { 162 MaxTableID = MAX( map_disk[i].tableID, MaxTableID);163 MaxImageID = MAX( map_disk[i].imageID, MaxImageID);163 MaxTableID = MAX(MaxTableID, map_disk[i].tableID); 164 MaxImageID = MAX(MaxImageID, map_disk[i].imageID); 164 165 } 165 166 table->MaxTableID = MaxTableID; … … 312 313 int AstromOffsetTableSetIDs (AstromOffsetTable *table) { 313 314 314 int i;315 316 315 // find the max value of imageID 317 int MaxTableID = 0; 318 int MaxImageID = 0; 319 for (i = 0; i < table->Nmap; i++) { 320 MaxTableID = MAX(table->map[i][0].tableID, MaxTableID); 321 MaxImageID = MAX(table->map[i][0].imageID, MaxImageID); 322 } 323 table->MaxTableID = MaxTableID; 324 table->MaxImageID = MaxImageID; 316 unsigned int MaxTableID = 0; 317 unsigned int MaxImageID = 0; 318 { 319 int j; 320 for (j = 0; j < table->Nmap; j++) { 321 MaxTableID = MAX(MaxTableID, table->map[j][0].tableID); 322 MaxImageID = MAX(MaxImageID, table->map[j][0].imageID); 323 } 324 table->MaxTableID = MaxTableID; 325 table->MaxImageID = MaxImageID; 326 } 325 327 326 328 // generate the index and init values to -1 327 ALLOCATE (table->imageIDtoTableSeq, int, MaxImageID + 1); 328 for (i = 0; i <= MaxImageID; i++) { 329 table->imageIDtoTableSeq[i] = -1; 329 { 330 unsigned int i; 331 ALLOCATE (table->imageIDtoTableSeq, int, MaxImageID + 1); 332 for (i = 0; i <= MaxImageID; i++) { 333 table->imageIDtoTableSeq[i] = -1; 334 } 330 335 } 331 336 332 337 // assign the ID values 333 for (i = 0; i < table->Nmap; i++) { 334 int ImageID = table->map[i][0].imageID; 335 myAssert (table->imageIDtoTableSeq[ImageID] == -1, "oops, duplicate image IDs"); 336 table->imageIDtoTableSeq[ImageID] = i; 338 { 339 int j; 340 for (j = 0; j < table->Nmap; j++) { 341 int ImageID = table->map[j][0].imageID; 342 myAssert (table->imageIDtoTableSeq[ImageID] == -1, "oops, duplicate image IDs"); 343 table->imageIDtoTableSeq[ImageID] = j; 344 } 337 345 } 338 346 return TRUE; -
branches/eam_branches/ohana.20160226/src/libdvo/src/AstromOffsetMapUtils.c
r38986 r39409 11 11 off_t i; 12 12 for (i = 0; i < Nimages; i++) { 13 int imageID = images[i].imageID; 14 if (imageID < 0) continue; 13 if (images[i].imageID < 0) continue; 14 15 unsigned int imageID = images[i].imageID; 15 16 if (imageID > table->MaxImageID) continue; 16 17 -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_catalog_chipcoords.c
r37035 r39409 1 1 # include <dvo.h> 2 2 3 int dvo_match_image (Image *image, int Nimage, unsignedint T, short int S) {3 int dvo_match_image (Image *image, int Nimage, int T, short int S) { 4 4 5 5 int N, Nlo, Nhi, N1, N2; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_catalog_mef.c
r38441 r39409 17 17 it is not defined for a legacy database, we can generate them using the existing index values. 18 18 If it is missing, give a warning and recommend the user upgrade the DB */ 19 if (!gfits_scan (&catalog[0].header, "OBJID", "% d", 1, &catalog[0].objID)) {19 if (!gfits_scan (&catalog[0].header, "OBJID", "%u", 1, &catalog[0].objID)) { 20 20 if (VERBOSE) fprintf (stderr, "WARNING: OBJID is not set for %s: upgrade for full feature set\n", catalog[0].filename); 21 21 catalog[0].objID = 0; 22 22 } 23 if (!gfits_scan (&catalog[0].header, "CATID", "% d", 1, &catalog[0].catID)) {23 if (!gfits_scan (&catalog[0].header, "CATID", "%u", 1, &catalog[0].catID)) { 24 24 if (VERBOSE) fprintf (stderr, "WARNING: CATID is not set for %s: upgrade for full feature set\n", catalog[0].filename); 25 25 catalog[0].catID = 0; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_catalog_raw.c
r38441 r39409 29 29 it is not defined for a legacy database, we can generate them using the existing index values. 30 30 If it is missing, give a warning and recommend the user upgrade the DB */ 31 if (!gfits_scan (&catalog[0].header, "OBJID", "% d", 1, &catalog[0].objID)) {31 if (!gfits_scan (&catalog[0].header, "OBJID", "%u", 1, &catalog[0].objID)) { 32 32 if (VERBOSE) fprintf (stderr, "WARNING: OBJID is not set for this database: upgrade for full feature set\n"); 33 33 catalog[0].objID = 0; 34 34 } 35 if (!gfits_scan (&catalog[0].header, "CATID", "% d", 1, &catalog[0].catID)) {35 if (!gfits_scan (&catalog[0].header, "CATID", "%u", 1, &catalog[0].catID)) { 36 36 if (VERBOSE) fprintf (stderr, "WARNING: CATID is not set for this database: upgrade for full feature set\n"); 37 37 catalog[0].catID = 0; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert.c
r38986 r39409 320 320 321 321 Missing *FtableToMissing (FTable *ftable, Average *average, off_t *Nmissing, DVOCatFormat *format, char nativeBytes) { 322 OHANA_UNUSED_PARAM(average); 322 323 323 324 Missing *missing; … … 397 398 398 399 SecFilt *FtableToSecFilt (FTable *ftable, Average *average, off_t *Nsecfilt, DVOCatFormat *format, char nativeBytes) { 400 OHANA_UNUSED_PARAM(average); 399 401 400 402 SecFilt *secfilt; … … 509 511 510 512 Lensing *FtableToLensing (FTable *ftable, Average *average, off_t *Nlensing, DVOCatFormat *format, char nativeBytes) { 513 OHANA_UNUSED_PARAM(average); 511 514 512 515 Lensing *lensing; … … 652 655 653 656 Lensobj *FtableToLensobj (FTable *ftable, Average *average, off_t *Nlensobj, DVOCatFormat *format, char nativeBytes) { 657 OHANA_UNUSED_PARAM(average); 654 658 655 659 Lensobj *lensobj; … … 769 773 770 774 StarPar *FtableToStarPar (FTable *ftable, Average *average, off_t *Nstarpar, DVOCatFormat *format, char nativeBytes) { 775 OHANA_UNUSED_PARAM(average); 771 776 772 777 StarPar *starpar; … … 874 879 875 880 GalPhot *FtableToGalPhot (FTable *ftable, Average *average, off_t *Ngalphot, DVOCatFormat *format, char nativeBytes) { 881 OHANA_UNUSED_PARAM(average); 876 882 877 883 GalPhot *galphot; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_DEV_1.c
r38462 r39409 100 100 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 101 101 Average *Average_PS1_DEV_1_ToInternal (Average_PS1_DEV_1 *in, off_t Nvalues, SecFilt **primary) { 102 OHANA_UNUSED_PARAM(primary); 102 103 103 104 off_t i; … … 138 139 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 139 140 Average_PS1_DEV_1 *AverageInternalTo_PS1_DEV_1 (Average *in, off_t Nvalues, SecFilt *primary) { 141 OHANA_UNUSED_PARAM(primary); 140 142 141 143 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_DEV_2.c
r38462 r39409 97 97 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 98 98 Average *Average_PS1_DEV_2_ToInternal (Average_PS1_DEV_2 *in, off_t Nvalues, SecFilt **primary) { 99 OHANA_UNUSED_PARAM(primary); 99 100 100 101 off_t i; … … 133 134 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 134 135 Average_PS1_DEV_2 *AverageInternalTo_PS1_DEV_2 (Average *in, off_t Nvalues, SecFilt *primary) { 136 OHANA_UNUSED_PARAM(primary); 135 137 136 138 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_REF.c
r38462 r39409 55 55 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 56 56 Average *Average_PS1_REF_ToInternal (Average_PS1_REF *in, off_t Nvalues, SecFilt **primary) { 57 OHANA_UNUSED_PARAM(primary); 57 58 58 59 off_t i; … … 80 81 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 81 82 Average_PS1_REF *AverageInternalTo_PS1_REF (Average *in, off_t Nvalues, SecFilt *primary) { 83 OHANA_UNUSED_PARAM(primary); 82 84 83 85 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_SIM.c
r39262 r39409 4 4 5 5 Measure *Measure_PS1_SIM_ToInternal (Average *ave, Measure_PS1_SIM *in, off_t Nvalues) { 6 OHANA_UNUSED_PARAM(ave); 6 7 7 8 off_t i; … … 51 52 52 53 Measure_PS1_SIM *MeasureInternalTo_PS1_SIM (Average *ave, Measure *in, off_t Nvalues) { 54 OHANA_UNUSED_PARAM(ave); 53 55 54 56 off_t i; … … 97 99 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 98 100 Average *Average_PS1_SIM_ToInternal (Average_PS1_SIM *in, off_t Nvalues, SecFilt **primary) { 101 OHANA_UNUSED_PARAM(primary); 99 102 100 103 off_t i; … … 143 146 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 144 147 Average_PS1_SIM *AverageInternalTo_PS1_SIM (Average *in, off_t Nvalues, SecFilt *primary) { 148 OHANA_UNUSED_PARAM(primary); 145 149 146 150 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_V1.c
r38462 r39409 115 115 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 116 116 Average *Average_PS1_V1_ToInternal (Average_PS1_V1 *in, off_t Nvalues, SecFilt **primary) { 117 OHANA_UNUSED_PARAM(primary); 117 118 118 119 off_t i; … … 152 153 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 153 154 Average_PS1_V1 *AverageInternalTo_PS1_V1 (Average *in, off_t Nvalues, SecFilt *primary) { 155 OHANA_UNUSED_PARAM(primary); 154 156 155 157 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_V2.c
r38462 r39409 116 116 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 117 117 Average *Average_PS1_V2_ToInternal (Average_PS1_V2 *in, off_t Nvalues, SecFilt **primary) { 118 OHANA_UNUSED_PARAM(primary); 118 119 119 120 off_t i; … … 157 158 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 158 159 Average_PS1_V2 *AverageInternalTo_PS1_V2 (Average *in, off_t Nvalues, SecFilt *primary) { 160 OHANA_UNUSED_PARAM(primary); 159 161 160 162 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_V3.c
r38462 r39409 116 116 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 117 117 Average *Average_PS1_V3_ToInternal (Average_PS1_V3 *in, off_t Nvalues, SecFilt **primary) { 118 OHANA_UNUSED_PARAM(primary); 118 119 119 120 off_t i; … … 159 160 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 160 161 Average_PS1_V3 *AverageInternalTo_PS1_V3 (Average *in, off_t Nvalues, SecFilt *primary) { 162 OHANA_UNUSED_PARAM(primary); 161 163 162 164 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_V4.c
r38462 r39409 134 134 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 135 135 Average *Average_PS1_V4_ToInternal (Average_PS1_V4 *in, off_t Nvalues, SecFilt **primary) { 136 OHANA_UNUSED_PARAM(primary); 136 137 137 138 off_t i; … … 180 181 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 181 182 Average_PS1_V4 *AverageInternalTo_PS1_V4 (Average *in, off_t Nvalues, SecFilt *primary) { 183 OHANA_UNUSED_PARAM(primary); 182 184 183 185 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_PS1_V5.c
r39262 r39409 4 4 5 5 Measure *Measure_PS1_V5_ToInternal (Average *ave, Measure_PS1_V5 *in, off_t Nvalues) { 6 OHANA_UNUSED_PARAM(ave); 6 7 7 8 off_t i; … … 79 80 80 81 Measure_PS1_V5 *MeasureInternalTo_PS1_V5 (Average *ave, Measure *in, off_t Nvalues) { 82 OHANA_UNUSED_PARAM(ave); 81 83 82 84 off_t i; … … 153 155 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 154 156 Average *Average_PS1_V5_ToInternal (Average_PS1_V5 *in, off_t Nvalues, SecFilt **primary) { 157 OHANA_UNUSED_PARAM(primary); 155 158 156 159 off_t i; … … 225 228 // 'primary' is needed to conform with the API for Loneos and Elixir, but is not used 226 229 Average_PS1_V5 *AverageInternalTo_PS1_V5 (Average *in, off_t Nvalues, SecFilt *primary) { 230 OHANA_UNUSED_PARAM(primary); 227 231 228 232 off_t i; … … 1640 1644 1641 1645 Measure *Measure_PS1_V5alt_ToInternal (Average *ave, Measure_PS1_V5alt *in, off_t Nvalues) { 1646 OHANA_UNUSED_PARAM(ave); 1642 1647 1643 1648 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_panstarrs_DEV_0.c
r38462 r39409 106 106 // 'primary is needed to conform with the API for Loneos and Elixir, but is not used 107 107 Average *Average_Panstarrs_DEV_0_ToInternal (Average_Panstarrs_DEV_0 *in, off_t Nvalues, SecFilt **primary) { 108 OHANA_UNUSED_PARAM(primary); 108 109 109 110 off_t i; … … 143 144 // 'primary is needed to conform with the API for Loneos and Elixir, but is not used 144 145 Average_Panstarrs_DEV_0 *AverageInternalTo_Panstarrs_DEV_0 (Average *in, off_t Nvalues, SecFilt *primary) { 146 OHANA_UNUSED_PARAM(primary); 145 147 146 148 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_convert_panstarrs_DEV_1.c
r38462 r39409 106 106 // 'primary is needed to conform with the API for Loneos and Elixir, but is not used 107 107 Average *Average_Panstarrs_DEV_1_ToInternal (Average_Panstarrs_DEV_1 *in, off_t Nvalues, SecFilt **primary) { 108 OHANA_UNUSED_PARAM(primary); 108 109 109 110 off_t i; … … 143 144 // 'primary is needed to conform with the API for Loneos and Elixir, but is not used 144 145 Average_Panstarrs_DEV_1 *AverageInternalTo_Panstarrs_DEV_1 (Average *in, off_t Nvalues, SecFilt *primary) { 146 OHANA_UNUSED_PARAM(primary); 145 147 146 148 off_t i; -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvo_photcode_ops.c
r39277 r39409 467 467 /***/ 468 468 float PhotAve (PhotCode *code, Average *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 469 OHANA_UNUSED_PARAM(average); 469 470 470 471 if (code == NULL) return NAN; … … 572 573 573 574 float PhotCalErr (Measure *measure, dvoMagClassType class) { 575 OHANA_UNUSED_PARAM(class); 574 576 575 577 float dMcal = measure[0].dMcal; … … 578 580 579 581 float PhotAveErr (PhotCode *code, Average *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 582 OHANA_UNUSED_PARAM(average); 580 583 581 584 if (code == NULL) return NAN; … … 640 643 641 644 float PhotZeroPoint (Measure *measure, Average *average, SecFilt *secfilt) { 645 OHANA_UNUSED_PARAM(average); 646 OHANA_UNUSED_PARAM(secfilt); 642 647 643 648 int Np; … … 710 715 711 716 float PhotMstdev (PhotCode *code, Average *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 717 OHANA_UNUSED_PARAM(average); 712 718 713 719 if (code == NULL) return NAN; … … 757 763 // return the number of detections in this filter (gpc1) 758 764 int PhotNcode (PhotCode *code, Average *average, SecFilt *secfilt) { 765 OHANA_UNUSED_PARAM(average); 759 766 760 767 if (code == NULL) return 0; … … 768 775 // return the number of detections in this filter (gpc1) 769 776 int PhotSecfiltFlags (PhotCode *code, Average *average, SecFilt *secfilt) { 777 OHANA_UNUSED_PARAM(average); 770 778 771 779 if (code == NULL) return 0; … … 778 786 779 787 int PhotNphot (PhotCode *code, Average *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 788 OHANA_UNUSED_PARAM(average); 780 789 781 790 if (code == NULL) return 0; … … 824 833 825 834 float PhotAveFluxPSF (PhotCode *code, Average *average, SecFilt *secfilt) { 835 OHANA_UNUSED_PARAM(average); 826 836 827 837 int Ns; … … 836 846 837 847 float PhotAvedFluxPSF (PhotCode *code, Average *average, SecFilt *secfilt) { 848 OHANA_UNUSED_PARAM(average); 838 849 839 850 int Ns; … … 848 859 849 860 float PhotAveFluxKron (PhotCode *code, Average *average, SecFilt *secfilt) { 861 OHANA_UNUSED_PARAM(average); 850 862 851 863 int Ns; … … 860 872 861 873 float PhotAvedFluxKron (PhotCode *code, Average *average, SecFilt *secfilt) { 874 OHANA_UNUSED_PARAM(average); 862 875 863 876 int Ns; … … 872 885 873 886 float PhotMmin (PhotCode *code, Average *average, SecFilt *secfilt) { 887 OHANA_UNUSED_PARAM(average); 874 888 875 889 int Ns; … … 884 898 885 899 float PhotMmax (PhotCode *code, Average *average, SecFilt *secfilt) { 900 OHANA_UNUSED_PARAM(average); 886 901 887 902 int Ns; … … 896 911 897 912 float PhotUCdist (PhotCode *code, Average *average, SecFilt *secfilt) { 913 OHANA_UNUSED_PARAM(average); 898 914 899 915 int Ns; … … 921 937 // Xm is now (2014.07.03) stored as the chisq except in dvo formats which use as short 922 938 float PhotXm (PhotCode *code, Average *average, SecFilt *secfilt) { 939 OHANA_UNUSED_PARAM(average); 923 940 924 941 int Ns; … … 1188 1205 /***/ 1189 1206 float PhotFluxAve (PhotCode *code, Average *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 1207 OHANA_UNUSED_PARAM(average); 1190 1208 1191 1209 if (code == NULL) return NAN; … … 1248 1266 1249 1267 float PhotFluxAveErr (PhotCode *code, Average *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 1268 OHANA_UNUSED_PARAM(average); 1250 1269 1251 1270 if (code == NULL) return NAN; … … 1610 1629 /***/ 1611 1630 float PhotAveTiny (PhotCode *code, AverageTiny *average, SecFilt *secfilt, dvoMagClassType class, dvoMagSourceType source) { 1631 OHANA_UNUSED_PARAM(average); 1612 1632 1613 1633 if (code == NULL) return NAN; … … 1746 1766 1747 1767 float PhotdMTiny (PhotCode *code, AverageTiny *average, SecFilt *secfilt) { 1768 OHANA_UNUSED_PARAM(average); 1748 1769 1749 1770 int Ns; … … 1759 1780 // Xm is now (2014.07.03) stored as the chisq except in dvo formats which use as short 1760 1781 float PhotXmTiny (PhotCode *code, AverageTiny *average, SecFilt *secfilt) { 1782 OHANA_UNUSED_PARAM(average); 1761 1783 1762 1784 int Ns; … … 1853 1875 } 1854 1876 1855 LENSFIELD(X11_sm_obj) ;1856 LENSFIELD(X12_sm_obj) ;1857 LENSFIELD(X22_sm_obj) ;1858 LENSFIELD(E1_sm_obj) ;1859 LENSFIELD(E2_sm_obj) ;1860 1861 LENSFIELD(X11_sh_obj) ;1862 LENSFIELD(X12_sh_obj) ;1863 LENSFIELD(X22_sh_obj) ;1864 LENSFIELD(E1_sh_obj) ;1865 LENSFIELD(E2_sh_obj) ;1866 1867 LENSFIELD(X11_sm_psf) ;1868 LENSFIELD(X12_sm_psf) ;1869 LENSFIELD(X22_sm_psf) ;1870 LENSFIELD(E1_sm_psf) ;1871 LENSFIELD(E2_sm_psf) ;1872 1873 LENSFIELD(X11_sh_psf) ;1874 LENSFIELD(X12_sh_psf) ;1875 LENSFIELD(X22_sh_psf) ;1876 LENSFIELD(E1_sh_psf) ;1877 LENSFIELD(E2_sh_psf) ;1878 1879 LENSFIELD( F_ApR5) ;1880 LENSFIELD(dF_ApR5) ;1881 LENSFIELD(sF_ApR5) ;1882 LENSFIELD(fF_ApR5) ;1883 1884 LENSFIELD( F_ApR6) ;1885 LENSFIELD(dF_ApR6) ;1886 LENSFIELD(sF_ApR6) ;1887 LENSFIELD(fF_ApR6) ;1888 1889 LENSFIELD( F_ApR7) ;1890 LENSFIELD(dF_ApR7) ;1891 LENSFIELD(sF_ApR7) ;1892 LENSFIELD(fF_ApR7) ;1893 1894 LENSFIELD(E1) ;1895 LENSFIELD(E2) ;1877 LENSFIELD(X11_sm_obj) 1878 LENSFIELD(X12_sm_obj) 1879 LENSFIELD(X22_sm_obj) 1880 LENSFIELD(E1_sm_obj) 1881 LENSFIELD(E2_sm_obj) 1882 1883 LENSFIELD(X11_sh_obj) 1884 LENSFIELD(X12_sh_obj) 1885 LENSFIELD(X22_sh_obj) 1886 LENSFIELD(E1_sh_obj) 1887 LENSFIELD(E2_sh_obj) 1888 1889 LENSFIELD(X11_sm_psf) 1890 LENSFIELD(X12_sm_psf) 1891 LENSFIELD(X22_sm_psf) 1892 LENSFIELD(E1_sm_psf) 1893 LENSFIELD(E2_sm_psf) 1894 1895 LENSFIELD(X11_sh_psf) 1896 LENSFIELD(X12_sh_psf) 1897 LENSFIELD(X22_sh_psf) 1898 LENSFIELD(E1_sh_psf) 1899 LENSFIELD(E2_sh_psf) 1900 1901 LENSFIELD( F_ApR5) 1902 LENSFIELD(dF_ApR5) 1903 LENSFIELD(sF_ApR5) 1904 LENSFIELD(fF_ApR5) 1905 1906 LENSFIELD( F_ApR6) 1907 LENSFIELD(dF_ApR6) 1908 LENSFIELD(sF_ApR6) 1909 LENSFIELD(fF_ApR6) 1910 1911 LENSFIELD( F_ApR7) 1912 LENSFIELD(dF_ApR7) 1913 LENSFIELD(sF_ApR7) 1914 LENSFIELD(fF_ApR7) 1915 1916 LENSFIELD(E1) 1917 LENSFIELD(E2) 1896 1918 1897 1919 # if (1) -
branches/eam_branches/ohana.20160226/src/libdvo/src/dvosorts.c
r36084 r39409 76 76 /* sort a coordinate pair (X,Y) and the associated index (S) */ 77 77 void sort_coords_indexonly (double *X, double *Y, off_t *S, off_t N) { 78 OHANA_UNUSED_PARAM(Y); 78 79 79 80 # define SWAPFUNC(A,B){ off_t itmp; \
Note:
See TracChangeset
for help on using the changeset viewer.
