original_docstring: 
      theta is the propagation direction in radiants.
      if theta > pi/2, theta and highResCellGrid are rotated by n*pi/2
      so that they get within pi/2
      
docstring: theta is the propagation direction in radiants.
  if theta > pi/2, theta and highResCellGrid are rotated by n*pi/2
  so that they get within pi/2
docstring_tokens: theta is the propagation direction in radiants . if theta > pi / 2 theta and highResCellGrid are rotated by n * pi / 2 so that they get within pi / 2
code: def transform(self, theta):
      """
      theta is the propagation direction in radiants.
      if theta > pi/2, theta and highResCellGrid are rotated by n*pi/2
      so that they get within pi/2
      """
      highResCellGrid, xs, ys = self.alphaMtx.alphas, self.alphaMtx.xs, self.alphaMtx.ys
      dx, dy = self.alphaMtx.dx, self.alphaMtx.dy
      if self.alphaMtx.hasFreqs:
        rtheta, rmtx = self.mtx3DTransformToFirstOctant(theta, highResCellGrid)
      else:
        rtheta, rmtx = self.mtx2DTransformToFirstOctant(theta, highResCellGrid)
      rtheta, xs, ys, dx, dy = self.coordsTransformToFirstOctant\
               (theta, xs, ys, dx, dy)
      rtheta, rcell = self.polygonTransformToFirstOctant(theta, self.cell)
      rmtx = hrmtx(xs, ys, rmtx, self.alphaMtx.freqs)
      rmtx.dx = dx
      rmtx.dy = dy
      rmtx.polygon = rcell
      return rtheta, rmtx, rcell
code_tokens: def transform ( self , theta ) : highResCellGrid , xs , ys = self . alphaMtx . alphas , self . alphaMtx . xs , self . alphaMtx . ys dx , dy = self . alphaMtx . dx , self . alphaMtx . dy if self . alphaMtx . hasFreqs : rtheta , rmtx = self . mtx3DTransformToFirstOctant ( theta , highResCellGrid ) else : rtheta , rmtx = self . mtx2DTransformToFirstOctant ( theta , highResCellGrid ) rtheta , xs , ys , dx , dy = self . coordsTransformToFirstOctant ( theta , xs , ys , dx , dy ) rtheta , rcell = self . polygonTransformToFirstOctant ( theta , self . cell ) rmtx = hrmtx ( xs , ys , rmtx , self . alphaMtx . freqs ) rmtx . dx = dx rmtx . dy = dy rmtx . polygon = rcell return rtheta , rmtx , rcell
short_docstring: theta is the propagation direction in radiants.
short_docstring_tokens: theta is the propagation direction in radiants .
comment: """
      theta is the propagation direction in radiants.
      if theta > pi/2, theta and highResCellGrid are rotated by n*pi/2
      so that they get within pi/2
      """