original_docstring:  Use MedianPairwise to fit a trend 
docstring: Use MedianPairwise to fit a trend
docstring_tokens: Use MedianPairwise to fit a trend
code: def FitTrend(GBarr,TypeTime,TheMDI):
      ''' Use MedianPairwise to fit a trend '''
      ''' return the 5th, median and 95th percentile slopes '''
      ''' If annual then multiply by 10, if monthly then multiply by 120 '''
      TrendStats=np.empty(3)
      TrendStats=MedianPairwise(GBarr,TheMDI,TrendStats)
      
      if TypeTime == 'monthly':
          TrendStats=np.array(TrendStats)*120.
      else:
          TrendStats=np.array(TrendStats)*10.
  	
      return TrendStats
code_tokens: def FitTrend ( GBarr , TypeTime , TheMDI ) : ''' return the 5th, median and 95th percentile slopes ''' ''' If annual then multiply by 10, if monthly then multiply by 120 ''' TrendStats = np . empty ( 3 ) TrendStats = MedianPairwise ( GBarr , TheMDI , TrendStats ) if TypeTime == 'monthly' : TrendStats = np . array ( TrendStats ) * 120. else : TrendStats = np . array ( TrendStats ) * 10. return TrendStats
short_docstring: Use MedianPairwise to fit a trend
short_docstring_tokens: Use MedianPairwise to fit a trend
comment: ''' Use MedianPairwise to fit a trend '''$SEP$''' return the 5th, median and 95th percentile slopes '''$SEP$''' If annual then multiply by 10, if monthly then multiply by 120 '''