function gtt_CCD_cen, index, times, dph=dph
;+
;NAME:
;       gtt_CCD_cen
;PURPOSE:
;       To compute solar coordinates of the CCD center for a trace image index 
;SAMPLE CALLING SEQUENCE:
;       answr = gtt_CCD_cen(index)
;	answr = gtt_ccd_cen(be, times, dph=dph)
;INPUTS:
;       index = index structure derived from TRACE image header
;	times = the date/time for each image (if calibration is time
;		dependent)
;OUTPUTS:
;	array [x,y] = solar [EW, NS] in arcseconds, from disk center
;HISTORY:
;       17-Mar-98 (TDT) -- just wedge motors & PZT offsets
;	18-Mar-98 (MDM) - Modified to use GTT_INFO to get the wedge/pzt info
;	19-Mar-98 (MDM) - Added times as optional input
;			- Temporarily commented out PZT2SOLAR call
;-
;

m1 = gtt_info(index, 'mwdg1', dph=dph)
m2 = gtt_info(index, 'mwdg2', dph=dph)
pzta = gtt_info(index, 'pzta_off', dph=dph)
pztb = gtt_info(index, 'pztb_off', dph=dph)
pztc = gtt_info(index, 'pztc_off', dph=dph)
;
cen = wedge2solar(m1,180-m2)
pztoff = 0
;;pztoff = pzt2solar(pzta,pztb,pztc)
;
return,cen+pztoff
end
