<div dir="ltr">Hello,<div><br></div><div>This is most likely a question for Eric, but I thought I'd see if someone knew the answer. I'm using the setval command in astropy.io.fits to update a header keyword in an HST image (SUBARRAY). The keyword originally contains either a T or F if the image is a subarray or not. </div><div><br></div><div>How do I use setval to change the keyword from T to F or vice versa. Right now its updating the header with a string and essentially crashing the code checking to make sure that the image is not a subarray. </div><div><br></div><div>Thanks</div><div>Abhi</div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>-------------------------------------------------------------------------------------------</div>Abhijith Rajan<div>PhD Candidate</div><div>Arizona State University<br></div><div>School of Earth & Space Exploration</div><div>Interdisciplinary Sci & Tech Bldg 4 Rm 542</div><div>Tempe, AZ 85287</div><div>Tel: (480) 727-2559</div><div><div>Fax: (480) 965-8102</div><div><a href="http://www.abhijithrajan.com" target="_blank">www.abhijithrajan.com</a></div><div>-------------------------------------------------------------------------------------------</div></div></div></div></div>
</div></div>