moved import of complex_phase_cmap out of try