Fix: assign detector information only if the channle map is given.