Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/p/y/PyAstronomy-HEAD/src/pyasl/asl/baryvel.py   PyAstronomy(Download)
import numpy as np
from astroTimeLegacy import premat, daycnv, precess, helio_jd
from idlMod import idlMod
from PyAstronomy.pyaC import pyaErrors as PE
 
  ra = ra2000
  dec = dec2000
  ra, dec = precess(ra, dec, 2000.0, epoch)  
 
  # Calculate heliocentric julian date

src/p/y/PyAstronomy-HEAD/src/pyasl/asl/eq2hor.py   PyAstronomy(Download)
    if B1950:
      for i in xrange(ra_vals.size):
        ra_vals[i], dec_vals[i] = atleg.precess(ra_vals[i], dec_vals[i], 1950.0, equinox_now[i])
    else:
      # Now B2000 is expected
      for i in range(ra_vals.size):
        ra_vals[i], dec_vals[i] = atleg.precess(ra_vals[i], dec_vals[i], 2000.0, equinox_now[i])

src/p/y/PyAstronomy-HEAD/src/pyasl/asl/test.py   PyAstronomy(Download)
      if dat[i,7] == 0.0:
        rad = False
      r = at.precess(dat[i,2], dat[i,3], dat[i,0], dat[i,1], FK4=fk4, radian=rad)
      if (r[0]-dat[i,4])/r[0] > self.p:
        err += 1