[AstroPy] How to remove specific rows from an existing FITS file ?

Eric L. N. Jensen ejensen1 at swarthmore.edu
Mon Nov 20 09:41:20 EST 2017


Hi,

Can you show the code you’re using, and the error you’re getting (or unexpected output, if there’s no error)?   That will make it easier for people to see where the problem is. 

Eric


> On Nov 20, 2017, at 9:19 AM, Eloïse Aurélie Bénédicte Vitte <Eloise.Vitte at etu.unige.ch <mailto:Eloise.Vitte at etu.unige.ch>> wrote:
> 
> Hello,
> 
> I'm encountering a problem with a FITS file. I want to delete some rows that have certain values with a FOR loop in which I put IF conditions. It doesn't work when I use the function remove_row().
> 
> So, do you have any idea of the mistake I'm commiting ? 
> 
> Kind regards,
> Vitte Eloïse
> 
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org <mailto:AstroPy at python.org>
> https://mail.python.org/mailman/listinfo/astropy <https://mail.python.org/mailman/listinfo/astropy>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20171120/f0e0efbb/attachment.html>


More information about the AstroPy mailing list