Inlined Period2Freq()