Questions tagged [pyephem]

PyEphem provides the Python language with routines for computing the location of celestial objects like the sun, moon, and planets, as well as for any asteroids, comets, and earth satellites for which the caller can provide orbital elements. Rise, set, and transit times can be computed for any object, and basic coordinate computations are also supported.

272 questions
1
vote
1 answer

Asteroid position error after standard epoch change

Recently, the MPCORB database changed its standard epoch. Then pyephem failed to calculate the position of asteroids. Take Asteroid 2001 BP25 on 2015-11-23.55 UT as an example. With the old and new standard epochs, I calculated its position as…
Y. Cao
  • 11
  • 2
1
vote
1 answer

Installation of Pyephem via pip Fail

Recently, I try to install Pyephem in my vitual environment of Ubuntu by using command $ pip install pyephem. However, it fails to create local bin file. The error is "Permission Denied". I wonder how can I solve this problem. Your help will be…
Twl Ling
  • 11
  • 1
1
vote
2 answers

Some members of package not visible - Pycharm

I have a relative simple problem with Pycharm. It seems to ignore some members of packages such as Pygame or PyEphem. For instance, when I type ephem + dot, Pycharm shows me just a few classes and functions avaliable for this package, ignoring many…
DorianOlympia
  • 841
  • 1
  • 10
  • 22
1
vote
1 answer

PyEphem: ValueError: that satellite seems to stay always below your horizon

I have a problem with the PyEphem library. In a few words, I have to compute passes of a satellite based on a TLE for different observers because they have to communicate with. But to be sure they would be able to communicate with the satellite they…
SebML
  • 63
  • 1
  • 4
1
vote
1 answer

Using Terrestrial Time in PyEphem

Is there a way to make PyEphem give times in Dynamical Time (Terrestrial Time), without using delta_t() every time? According to documentations, PyEphem uses Ephemeris Time. So isn't there a way to just 'switch off' the conversion to UTC?
Nabigh
  • 91
  • 6
1
vote
1 answer

Difference between ephem.date(. . .) and ephem.Date(. . .) in PyEphem

Is there a difference between behaviour of ephem.date(. . .) and ephem.Date(. . .) in PyEphem? As far as I can see, both have the same effect.
Nabigh
  • 91
  • 6
1
vote
1 answer

PyEphem running error on Ubuntu

I have read previous posts on installation issues. Nothing seems to work. I have Ubuntu 14.04LTS, 32 bit, Anaconda python ver 2.7. I installed pyephem using sudo pip install pyephem [after checking I have python-dev, and latest pip] Installation…
Naren
  • 11
  • 1
1
vote
1 answer

.parallactic_angle() method in PyEphem

Changelog for Version 3.7.5.3 (2014 May 29) of PyEphem mentions that all bodies have been given a .parallactic_angle() method but I couldn't find it in quick references or tutorial. What are the argument(s) it need?
Nabigh
  • 91
  • 6
1
vote
1 answer

Pyephem iss example observer.compute() error or datatype error?

Installed pyephem on macbook air via pip: pip show pyephem --- Name: pyephem Version: 3.7.5.3 Location: /usr/local/lib/python2.7/site-packages Requires: The key problem I have is that the iss example found from…
chris
  • 131
  • 1
  • 2
  • 11
1
vote
2 answers

PyEphem: coordinate transformation galactic to equatorial

I have an issue with PyEphem when trying to make a coordinate transformation. Basically in this little example I try to calculate the equatorial coordinates of (l,b) = (52°,68.5°). This is how I thought it should work: import ephem galactic =…
Sjoerd222888
  • 3,228
  • 3
  • 31
  • 64
1
vote
1 answer

Pyephem, define and plotting stars for different epochs

I'm trying to make a program that displays stars of my choice, from different locations on Earth and at different epochs. I've got it working so that I can display objects from ephem's database, such as Venus, but the stars I want to display aren't…
1
vote
1 answer

PyEphem Sunrise and Sunset times wrong (python)

I'm having some difficulty using pyEphem to get accurate sunrise and sunset times for my location. I have read a few questions and answers, and looked at the docs, but it's still not totally clear what I'm doing wrong. Here is the code: import…
Magic_Matt_Man
  • 2,020
  • 3
  • 16
  • 16
1
vote
1 answer

Getting PyEphem to return angles with sign

How do I get PyEphem to give angles with sign and a zero padded to degrees. Currently it returns 2:46:32.8 but I want it in the form +02:46:32.8. Now, I could define a function to return it in that form, but I was wondering if there was a simpler…
Nabigh
  • 91
  • 6
1
vote
1 answer

Does PyEphem use the complete VSOP87 and ELP-2000/82 theory?

Does PyEphem use the complete VSOP87 planetary theory and ELP-2000/82 lunar theory or a reduced version (such as given in Meeus)?
Nabigh
  • 91
  • 6
1
vote
2 answers

How do I get a PyEphem observer's meridian in "epoch of date" coordinates?

I'm trying to determine the apparent right ascension of the an observer's meridian in the context of right ascension ephemerides that I'm getting for the observer using PyEpehm's Observer class. I understand that the latter will be provided in…
orome
  • 45,163
  • 57
  • 202
  • 418