original_docstring: 
      mtx2DTransformToFirstQuarter: transforms to first quarter a 2D matrix
      (use this if your high resolution alpha matrix does not depend from frequency)
      
docstring: transforms to first quarter a 2D matrix
  (use this if your high resolution alpha matrix does not depend from frequency)
docstring_tokens: transforms to first quarter a 2D matrix ( use this if your high resolution alpha matrix does not depend from frequency )
code: def mtx2DTransformToFirstQuarter(self, theta, highResCellGrid):
      """
      mtx2DTransformToFirstQuarter: transforms to first quarter a 2D matrix
      (use this if your high resolution alpha matrix does not depend from frequency)
      """
      theta = theta % (2.*np.pi)
      if theta <= np.pi/2:
        return theta, highResCellGrid
      elif theta <= np.pi:
        return theta - np.pi/2., highResCellGrid.transpose()
      elif theta <= 3./2.*np.pi:
        return theta - np.pi, highResCellGrid
      else:
        return theta - 3./2.*np.pi, highResCellGrid.transpose()
code_tokens: def mtx2DTransformToFirstQuarter ( self , theta , highResCellGrid ) : theta = theta % ( 2. * np . pi ) if theta <= np . pi / 2 : return theta , highResCellGrid elif theta <= np . pi : return theta - np . pi / 2. , highResCellGrid . transpose ( ) elif theta <= 3. / 2. * np . pi : return theta - np . pi , highResCellGrid else : return theta - 3. / 2. * np . pi , highResCellGrid . transpose ( )
short_docstring: mtx2DTransformToFirstQuarter: transforms to first quarter a 2D matrix
  (use this if your high resolution alpha matrix does not depend from frequency)
short_docstring_tokens: mtx2DTransformToFirstQuarter : transforms to first quarter a 2D matrix ( use this if your high resolution alpha matrix does not depend from frequency )
comment: """
      mtx2DTransformToFirstQuarter: transforms to first quarter a 2D matrix
      (use this if your high resolution alpha matrix does not depend from frequency)
      """