def _base_and_stride(freqstr):
 groups = opattern.match(freqstr)
 if (not groups):
  raise ValueError(('Could not evaluate %s' % freqstr))
 stride = groups.group(1)
 if len(stride):
  stride = int(stride)
 else:
  stride = 1
 base = groups.group(2)
 return (base, stride)

def _base_and_stride ( freqstr ) : groups = opattern . match ( freqstr ) if ( not groups ) : raise ValueError ( ( 'Could not evaluate %s' % freqstr ) ) stride = groups . group ( 1 ) if len ( stride ) : stride = int ( stride ) else : stride = 1 base = groups . group ( 2 ) return ( base , stride )
return base freq and stride info from string representation examples _freq_and_stride -> min .