Posted by
karenacollins on
Jun 25, 2015; 8:41am
URL: http://astroimagej.170.s1.nabble.com/Reducing-data-failing-tp272p279.html
Hi Peter,
These questions are all good. This is a feature that AIJ should support.
It is probably too late for your work, but I'll do my best to get this
implemented in AIJ in a few weeks.
Unfortunately that post was the closest I could find related to what you
need to do. Have you used Python? If so, John Kielkopf offers a set of
python compatible routines here:
http://www.astro.louisville.edu/software/alsvid/index.htmlThere is a program included in Alsvid (that runs in the Python
environment) which allows you to edit a FITS header value
(fits_edit_head.py). You could read the header first with
fits_list_head.py. Using those functions, I think a few lines of python
code could update the headers for you after the AIJ crop. Unfortunately,
you would need to run those commands outside AIJ and then reload the
updated files for further processing in AIJ.
You may be able to do the cropping in python as well. The PyFITS module
also offers many FITS file manipulation capabilities, but I'm not sure
about cropping.
http://www.stsci.edu/institute/software_hardware/pyfitsI wish I could offer an easier AIJ solution in the near term.
Karen