freqavg.py recognise arg order

Signed-off-by: xiehuc <xiehuc@gmail.com>