Changeset 35594 for branches/eam_branches/ipp-20130509/psModules
- Timestamp:
- May 24, 2013, 1:37:30 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130509
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psModules (modified) (1 prop)
-
psModules/src/detrend/pmDark.c (modified) (3 diffs)
-
psModules/src/objects/models/pmModel_TRAIL.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509
- Property svn:mergeinfo changed
/trunk (added) merged: 35566-35570,35572-35574,35576-35581,35583-35586,35590
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130509/psModules
- Property svn:mergeinfo changed
/trunk/psModules (added) merged: 35577,35583,35586
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130509/psModules/src/detrend/pmDark.c
r34800 r35594 383 383 } 384 384 values_set->data[i] = values; 385 } 386 385 psFree(orders); 386 } 387 387 388 // retrieve the norm vector, if supplied 388 389 psVector *norm = psMetadataLookupPtr(&mdok, output->analysis, "DARK.NORM"); … … 433 434 } 434 435 pmReadout *readout = inputs->data[r]; // Input readout 436 if ((!readout)||(!readout->image)) { 437 mask->data.PS_TYPE_VECTOR_MASK_DATA[r] = 0xff; 438 continue; 439 } 435 440 int yIn = i - readout->row0; // y position on input readout 436 441 int xIn = j - readout->col0; // x position on input readout … … 504 509 psFree(mask); 505 510 511 for (int i = 0; i < max_orders->n; i++) { 512 psFree(poly_set->data[i]); 513 psArray *values = values_set->data[i]; 514 for (int j = 0; j < values->n; j++) { 515 psFree(values->data[j]); 516 } 517 psFree(values_set->data[i]); 518 } 519 psFree(values_set); 520 psFree(poly_set); 521 psFree(logL); 522 506 523 return true; 507 524 } -
branches/eam_branches/ipp-20130509/psModules/src/objects/models/pmModel_TRAIL.c
r35560 r35594 169 169 dPAR[PM_PAR_SIGMA] = 0; // we don't actually allow this to vary, so we do not need to calculate it 170 170 171 for (int i = 0; i < 7; i++) {172 if (isnan(dPAR[i])) {173 fprintf (stderr, "*");174 }175 }176 } 177 if (isnan(f)) {178 fprintf (stderr, "!");179 }171 // for (int i = 0; i < 7; i++) { 172 // if (isnan(dPAR[i])) { 173 // fprintf (stderr, "*"); 174 // } 175 // } 176 } 177 // if (isnan(f)) { 178 // fprintf (stderr, "!"); 179 // } 180 180 return(f); 181 181 }
Note:
See TracChangeset
for help on using the changeset viewer.
