change input_nm to centerwvl in ctrl/spectro