Top "Astropy" questions

Questions related to Astropy, a community Python package for Astronomy

How can I get the value of a <property object at 0x...> in Python

I am new to Python and using Python 2.7 on Windows I am using Astropy library, but when I want to …

python astropy
Numpy log10 function: AttributeError: 'float' object has no attribute 'log10'

import numpy as np import astropy as ap def mass(FWHM, lumi): abs_lumi = bhm.L_1450(lumi) s1 = (FWHM/1000) s2 = ((…

python numpy astropy
Smoothing my heatmap in Python

I am developing a script in order to make heatmap from a sky survey with python and the libraries numpy, …

python numpy matplotlib astropy
Construct pandas dataframe from a .fits file

I have a .fits file that contains data. I would like to construct a pandas dataframe from this particular file …

python pandas dataframe astropy