TEST: some tests
Automatic style corrections courtesy of autopep8
DOC_STR: improve doc string
Automatic style corrections courtesy of autopep8
EHN: compound MAC

accept weight fraction as list
of float/Signal/list