Changeset 8669 for trunk/psModules/src/detrend
- Timestamp:
- Aug 29, 2006, 11:39:44 AM (20 years ago)
- Location:
- trunk/psModules/src/detrend
- Files:
-
- 4 edited
-
pmFlatNormalize.c (modified) (2 diffs)
-
pmFringeStats.c (modified) (4 diffs)
-
pmNonLinear.c (modified) (2 diffs)
-
pmSubtractBias.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmFlatNormalize.c
r8397 r8669 28 28 if (*expFluxesPtr) { 29 29 PS_ASSERT_VECTOR_TYPE(*expFluxesPtr, PS_TYPE_F32, false); 30 PS_ASSERT_VECTOR_SIZE(*expFluxesPtr, numExps, false);30 PS_ASSERT_VECTOR_SIZE(*expFluxesPtr, (long)numExps, false); 31 31 } else { 32 32 *expFluxesPtr = psVectorAlloc(numExps, PS_TYPE_F32); … … 43 43 if (*chipGainsPtr) { 44 44 PS_ASSERT_VECTOR_TYPE(*chipGainsPtr, PS_TYPE_F32, false); 45 PS_ASSERT_VECTOR_SIZE(*chipGainsPtr, numChips, false);45 PS_ASSERT_VECTOR_SIZE(*chipGainsPtr, (long)numChips, false); 46 46 } else { 47 47 *chipGainsPtr = psVectorAlloc(numChips, PS_TYPE_F32); -
trunk/psModules/src/detrend/pmFringeStats.c
r8246 r8669 3 3 * @author Eugene Magnier, IfA 4 4 * 5 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-08- 09 02:37:07$5 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-08-29 21:39:44 $ 7 7 * 8 8 * Copyright 2004 IfA … … 115 115 PS_ASSERT_VECTOR_TYPE(x, PS_TYPE_F32, false); 116 116 PS_ASSERT_VECTOR_TYPE(y, PS_TYPE_F32, false); 117 PS_ASSERT_VECTOR_SIZE(x, numRows, false);118 PS_ASSERT_VECTOR_SIZE(y, numRows, false);117 PS_ASSERT_VECTOR_SIZE(x, (long)numRows, false); 118 PS_ASSERT_VECTOR_SIZE(y, (long)numRows, false); 119 119 if (mask) { 120 120 PS_ASSERT_VECTOR_NON_NULL(mask, false); 121 121 PS_ASSERT_VECTOR_TYPE(mask, PS_TYPE_U8, false); 122 PS_ASSERT_VECTOR_SIZE(mask, numRows, false);122 PS_ASSERT_VECTOR_SIZE(mask, (long)numRows, false); 123 123 } 124 124 … … 356 356 PS_ASSERT_VECTOR_TYPE(f, PS_TYPE_F32, false); 357 357 PS_ASSERT_VECTOR_TYPE(df, PS_TYPE_F32, false); 358 PS_ASSERT_VECTOR_SIZE(f, numRows, false);359 PS_ASSERT_VECTOR_SIZE(df, numRows, false);358 PS_ASSERT_VECTOR_SIZE(f, (long)numRows, false); 359 PS_ASSERT_VECTOR_SIZE(df, (long)numRows, false); 360 360 361 361 // We need to write: … … 388 388 PS_ASSERT_INT_POSITIVE(regions->nRequested, NULL); 389 389 PS_ASSERT_VECTORS_SIZE_EQUAL(regions->x, regions->y, NULL); 390 PS_ASSERT_VECTOR_SIZE(regions->x, regions->nRequested, NULL);390 PS_ASSERT_VECTOR_SIZE(regions->x, (long)regions->nRequested, NULL); 391 391 392 392 if (extname && strlen(extname) > 0) { -
trunk/psModules/src/detrend/pmNonLinear.c
r7604 r8669 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 6-21 03:21:16$12 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-08-29 21:39:44 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 80 80 tableSize = PS_MIN(inFlux->n, outFlux->n); 81 81 psLogMsg(__func__, PS_LOG_WARN, 82 "WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (% d, %d)\n", inFlux->n, outFlux->n);82 "WARNING: pmNonLinear.c: pmNonLinearityLookup(): input vectors have different sizes (%ld, %ld)\n", inFlux->n, outFlux->n); 83 83 } 84 84 PS_ASSERT_VECTOR_TYPE(inFlux, PS_TYPE_F32, NULL); -
trunk/psModules/src/detrend/pmSubtractBias.c
r8246 r8669 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $14 * @date $Date: 2006-08- 09 02:37:07$13 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-08-29 21:39:44 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 288 288 psStatsOptions statistic = psStatsSingleOption(overscanOpts->stat->options); // Statistic to use 289 289 if (statistic == 0) { 290 psError(PS_ERR_BAD_PARAMETER_VALUE, false, "Multiple or no statistics options set: % x\n",290 psError(PS_ERR_BAD_PARAMETER_VALUE, false, "Multiple or no statistics options set: %p\n", 291 291 overscanOpts->stat); 292 292 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
