def native_(s, encoding='latin-1', errors='strict'):
        if isinstance(s, text_type):
            return s
        return str(s, encoding, errors)
Construct weight vector for filtering in the frequency domain.
dataset/ETHPy150Open TurboGears/gearbox/gearbox/utils/copydir.py/native_--crossover with--dataset/ETHPy150Open breuderink/eegtools/eegtools/featex.py/spec_weight