move chanmode to libsmu.hpp
libsmu -> pysmu, return v concat i