From 57033837e651ea2843b0140eb16f44bf20f53229 Mon Sep 17 00:00:00 2001 From: Michele De La Pena Date: Thu, 7 Mar 2024 11:11:46 -0500 Subject: [PATCH] Enable the parallel CTE correction --- pkg/acs/lib/acscte/docte.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/acs/lib/acscte/docte.c b/pkg/acs/lib/acscte/docte.c index 548708cf..469ec0cc 100644 --- a/pkg/acs/lib/acscte/docte.c +++ b/pkg/acs/lib/acscte/docte.c @@ -301,7 +301,7 @@ int DoCTE (ACSInfo *acs_info, const bool forwardModelOnly) { of the parallel and serial CTE corrections. Further, the serial CTE is amp-dependent so the KEYWORDs are documented for each amp. - Write the parallel HISTORY informaton here. + Write the parallel HISTORY information here. */ if ((status = populateImageFileWithCTEKeywordValues(&x[0], &cteParallelPars, "parallel"))) { @@ -456,7 +456,6 @@ int DoCTE (ACSInfo *acs_info, const bool forwardModelOnly) { } /* Parallel correction */ -/* strcpy(corrType, "parallel"); if ((status = doPCTEGen2(&acs[i], &cteParallelPars, &x[i], forwardModelOnly, corrType, &ccdamp, nthAmp, amploc, ampID))) { @@ -464,7 +463,6 @@ int DoCTE (ACSInfo *acs_info, const bool forwardModelOnly) { freeOnExit(&ptrParallelReg); return status; } -*/ double time_spent = ((double) clock()- begin +0.0) / CLOCKS_PER_SEC; sprintf(MsgText,"(pctecorr) CTE run time for current chip: %.2f(s) with %i procs/threads\n", time_spent/acs_info->nThreads, acs_info->nThreads);