Indexing
See original GitHub issueI am a new member of the galpy club.
After installation, I tried to integrate an orbit by copy one of its examples:
from astropy.coordinates import SkyCoord
import astropy.units as u
c= SkyCoord(ra=20.*u.deg,dec=30.*u.deg,distance=2.*u.kpc, pm_ra_cosdec=-10.*u.mas/u.yr,pm_dec=20.*u.mas/u.yr, radial_velocity=50.*u.km/u.s)
o= Orbit(c)
However, it didn’t work. and I ened with the following error:
TypeError: ‘Longitude’ object with a scalar value does not support indexing
Could you please help me with this issue. Thank you in advance for your time and efforts.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Indexing: Definition and Uses in Economics and Investing
An index is a method to track the performance of a group of assets in a standardized way. Indexes typically measure the performance...
Read more >Search engine indexing - Wikipedia
Search engine indexing is the collecting, parsing, and storing of data to facilitate fast and accurate information retrieval. Index design incorporates ...
Read more >What is Indexing? - Definition from Techopedia
In general, indexing refers to the organization of data according to a specific schema or plan. In IT, the term has various similar...
Read more >Find an Indexing Project — FamilySearch.org
Visit Web Indexing to search all of our indexing projects and to access the ... Select a region or country from the list...
Read more >How Does Indexing Work | Tutorial by Chartio
Indexing is the way to get an unordered table into an order that will maximize the query's efficiency while searching. When a table...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you again for your time and efforts. I will close this issue.
That indicates that the C extensions weren’t properly compiled (the code will still work, just much slower, which depending on what you are trying to do might not matter). The installation instructions have some tips on how to deal with this issue. Installing using
condamight be the easiest way to get around this.