Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
215 views

I’m trying to plot constellations with Python using Gaia star data, but the constellation lines don’t look like they do in Stellarium. I’ve tried plotting in both Alt/Az and RA/Dec, even used a ...
4 votes
2 answers
102 views

Creating a SkyCoord object: c_end = SkyCoord( x=xf, y=yf, z=zf, v_x=vxf, v_y=vyf, v_z=vzf, frame='galactocentric' ) and attempting to put this into an Astropy QTable with ...
Gwald4's user avatar
  • 41
1 vote
2 answers
142 views

I am trying to create a slightly complex 2D plot with astronomical data, using Matplotlib, and Astropy. It involves a astronomical image, overlaid with a scatter plot, and Matplotlib patches. Using ...
2 votes
1 answer
95 views

For example, in this code I plot a astronomy FITS image: import numpy as np from astropy.io import fits from astropy.visualization import simple_norm from astropy.wcs import WCS import matplotlib....
-1 votes
1 answer
66 views

I've been working on this for two weeks. I have a data frame with 3,600 columns and 200 rows, which correspond to a frequency sweep performed with a detector. The file's original format is .fit, so I'...
0 votes
1 answer
31 views

I keep getting KeyError: 'd_ρ' on my d_rho = ... line. I am trying to run the differentials so that I can put them in a table column (or single column per variable), to use for calculating velocity. ...
0 votes
1 answer
85 views

I am writing some code dealing with an aircraft locations with respect to an observer located at ground and I got a discrepancy between the distance calculated directly from geocentric Cartesian ...
1 vote
2 answers
114 views

I am trying to do the transfomation from ITRS to topocentric AltAz frame using SkyCoord.transform_to() functionality: altazCoord = itrsCoord.transform_to(AltAz(obstime=time, location=obsGeoLocation) ...
0 votes
1 answer
65 views

import astropy.units as u import numpy as np from astropy.io import fits from astropy.wcs import WCS import matplotlib.pyplot as plt from astropy.visualization import simple_norm from astropy....
2 votes
1 answer
133 views

I am trying to do a scatter plot of a few data points on a region of the sky and then add a circle to the plot. Note, that I don't want a plot of the full sky, just of the region around the data ...
0 votes
1 answer
185 views

The thing is i'm working with two .fits images, but the pixscale of each one is different. Let's say Image 1 has a CDELT = +- 0.0013888888888889 [deg] and Image 2 has a CDELT = +- 0.00277778000000 [...
1 vote
1 answer
93 views

I'm using astropy, matplotlib, skyfield and astroquery to create sky charts with Python. With skyfield I do the stereographic projection of the sky. With astropy I use WCS, something like this: fig = ...
Unix's user avatar
  • 2,844
-1 votes
1 answer
329 views

My Python script is: import numpy as np import matplotlib.pyplot as plt import cv2 from fil_finder import FilFinder2D from astropy import units skeleton = cv2.imread("./zhang.png", 0) fil = ...
1 vote
1 answer
96 views

I use astropy to make calculations with units and I normally do these calculations in a jupyter notebook so the results are printed nicely. I would like to know how to control the number of digits ...
2 votes
2 answers
432 views

I'm making a script in Python to get information for all objects from the NGC and IC catalogs. Actually, I already have this information from OpenNGC, however, coordinates don't have the same ...
Unix's user avatar
  • 2,844

15 30 50 per page
1
2 3 4 5
...
51

AltStyle によって変換されたページ (->オリジナル) /