def selfprecess(self,newequinox) : # precesses in place .... # print "Doin stuff ... " x = _skysub.cooxform(self.ra.val,self.dec.val, self.equinox,float(newequinox),1,0,1) # print x self.ra.val = x[0] self.dec.val = x[1] self.equinox = float(newequinox)
def selfprecess(self, newequinox): # precesses in place .... # print "Doin stuff ... " x = _skysub.cooxform(self.ra.val, self.dec.val, self.equinox, float(newequinox), 1, 0, 1) # print x self.ra.val = x[0] self.dec.val = x[1] self.equinox = float(newequinox)
def precess(self,newequinox) : # returns a new position .... x = _skysub.cooxform(self.ra.val,self.dec.val, self.equinox,float(newequinox),1,0,1) return celest([x[0],x[1],newequinox])
def precess(self, newequinox): # returns a new position .... x = _skysub.cooxform(self.ra.val, self.dec.val, self.equinox, float(newequinox), 1, 0, 1) return celest([x[0], x[1], newequinox])