Wednesday, February 14, 2007

bug in extractor when combining event files

Fixed bug reported by Phil Evans when creating a new event file from multiple input event files with different WCS values. If the sky X and Y columns were integers the new values were calculated as an INT after doing the transformation instead of a NINT causing a possible one pixel shift. Also did some optimization of the code. v4.74.

Update: Also found that the goodfwcs logical variable in EXTWCS was not being initialized which was causing the position recalculation not to occur in some circumstances. v4.75

Keywords: HEAsoft, extractor.

No comments: