Changeset 37668
- Timestamp:
- Nov 24, 2014, 4:21:52 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/fakeastro/src
- Files:
-
- 2 edited
-
get_image_patch.c (modified) (1 diff)
-
load_template_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/fakeastro/src/get_image_patch.c
r37532 r37668 125 125 ALLOCATE (output, SkyRegion, 1); 126 126 127 output->Dmin = region->Dmin - boundary; 128 output->Dmax = region->Dmax + boundary; 127 output->Dmin = MAX (-90.0, region->Dmin - boundary); 128 output->Dmax = MIN (+90.0, region->Dmax + boundary); 129 130 if ((region->Rmax == 360.0) && (region->Rmin == 0.0)) { 131 output->Rmin = region->Rmin; 132 output->Rmax = region->Rmax; 133 return output; 134 } 129 135 130 136 float dRmin = boundary / cos (RAD_DEG*region->Dmin); -
branches/eam_branches/ipp-20140904/Ohana/src/fakeastro/src/load_template_images.c
r37600 r37668 53 53 } 54 54 } 55 if (!childImage) { 56 fprintf (stderr, "!"); 57 // skip this one? 58 continue; 59 } 55 if (!childImage) continue; 56 60 57 // XXX hard=wire the photcode range for now (just i-band) 61 //if (childImage->photcode < 10200) continue;62 // if (childImage->photcode <10277) continue;58 if (childImage->photcode < 10200) continue; 59 if (childImage->photcode > 10277) continue; 63 60 64 61 refimage[Nrefimage].secz = childImage->secz;
Note:
See TracChangeset
for help on using the changeset viewer.
