warning("Only the first two element in nm.frequencies will be considered for WMAX-CMD mode.",verbosity.low)
iflen(self.nm_freqs)<2:
raiseValueError("WMAX-CMD mode requires [wmax, wtarget]. The normal modes will be scaled such that the first internal mode is at frequency wtarget and all the normal modes coincide at frequency wmax.")