function fringenphot,c
;
; Return photonrate computed from fringe frames.
; The first index in the frames must correspond to the phase bins.
;
return,total(float(reform(c)),1)
;
end