Skip to content

Commit

Permalink
Enable the parallel CTE correction
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlpstsci committed Aug 16, 2024
1 parent a75cb35 commit 5703383
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/acs/lib/acscte/docte.c
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
{
Expand Down Expand Up @@ -456,15 +456,13 @@ 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)))
{
freeOnExit(&ptrReg);
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);
Expand Down

0 comments on commit 5703383

Please sign in to comment.