Beispiel #1
0
 def radec_to_munu_single_c(self, ra, dec):
     ''' Compute ra,dec to mu,nu for a single RA,Dec, calling C code'''
     mu,nu = cutils.radec_to_munu(ra, dec, self.node, self.incl)
     #mu2,nu2 = self.radec_to_munu(ra, dec)
     #print 'mu,mu2', mu, mu2
     #print 'nu,nu2', nu, nu2
     return mu,nu
Beispiel #2
0
 def radec_to_munu_single_c(self, ra, dec):
     ''' Compute ra,dec to mu,nu for a single RA,Dec, calling C code'''
     mu, nu = cutils.radec_to_munu(ra, dec, self.node, self.incl)
     #mu2,nu2 = self.radec_to_munu(ra, dec)
     #print 'mu,mu2', mu, mu2
     #print 'nu,nu2', nu, nu2
     return mu, nu
Beispiel #3
0
 def radec_to_munu_single_c(self, ra, dec):
     ''' Compute ra,dec to mu,nu for a single RA,Dec, calling C code'''
     mu,nu = cutils.radec_to_munu(ra, dec, self.node, self.incl)
     return mu,nu
Beispiel #4
0
 def radec_to_munu_single_c(self, ra, dec):
     ''' Compute ra,dec to mu,nu for a single RA,Dec, calling C code'''
     mu, nu = cutils.radec_to_munu(ra, dec, self.node, self.incl)
     return mu, nu