def METHOD_NAME(self, f):
    """Computes Cartesian poles and writes to output file.
    """
    iCount = 0
    for pole in range(self.numPoles):
        lat = math.radians(self.polesSource[iCount])
        lon = math.radians(self.polesSource[iCount+1])
        omega = self.polesSource[iCount+2]
        omegax = omega * math.cos(lat) * math.cos(lon)
        omegay = omega * math.cos(lat) * math.sin(lon)
        omegaz = omega * math.sin(lat)
        f.write(' %.12e' % omegax)
        f.write(' %.12e' % omegay)
        f.write(' %.12e' % omegaz)
        f.write('\n')
        iCount += 3
    return