Skip to content Skip to sidebar Skip to footer
Showing posts with the label Astropy

Replacing Masked Values (--) With A Null Or None Value Using Fiil_value From Ma Numpy In Python

Is there a way to replace a masked value in a numpy masked array as a null or None value? This is w… Read more Replacing Masked Values (--) With A Null Or None Value Using Fiil_value From Ma Numpy In Python

How To Merge Two Table With Pyfits?

I am using Python 2.7.10 And pyfits 3.3. Earlier, I have used the following code to merge two table… Read more How To Merge Two Table With Pyfits?

Getting Error "can Only Apply 'exp' Function To Dimensionless Quantities", Not Sure How To Fix This

I have been working on converting some MatLab code over to python for one of my professors (not an … Read more Getting Error "can Only Apply 'exp' Function To Dimensionless Quantities", Not Sure How To Fix This

Why Features On WCS Projected Subplot Are In The Wrong Place In Matplotlib?

I have a fits file about an astronomical object. I can plot it like this: from astropy.io import fi… Read more Why Features On WCS Projected Subplot Are In The Wrong Place In Matplotlib?