Characterization of a pixel CdTe detector for nuclearv medicine imaging