dsf function

Estimate the dominant stroke frequency