summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Added headerlet tsrdencheva2012-10-312-0/+959
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20135 fe389314-cf27-0410-b35b-8c050e845b92
* Refactored the FITS Conventions TSR so each section was in its own rst doc. ↵hack2012-10-3114-955/+961
| | | | | | This insures that each section comes up in its own HTML page, rather than having 1 very long page for the entire doc. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20134 fe389314-cf27-0410-b35b-8c050e845b92
* Changing how the STWCS TSRs get built by moving them to separate doc ↵hack2012-10-3119-78/+1317
| | | | | | directories for publication. FITS Convention TSR has been moved entirely with the rst files being removed from the STWCS API doc tree. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20133 fe389314-cf27-0410-b35b-8c050e845b92
* Applied changes from Warren's commentsdencheva2012-10-301-27/+27
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20131 fe389314-cf27-0410-b35b-8c050e845b92
* fix docstring indentationdencheva2012-10-291-121/+124
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20130 fe389314-cf27-0410-b35b-8c050e845b92
* updates to headerlet tsrdencheva2012-10-291-80/+95
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20129 fe389314-cf27-0410-b35b-8c050e845b92
* Further refinement of FITS Conventions TSR to include more descriptive text ↵hack2012-10-262-34/+72
| | | | | | from NPOL TSR on how WCSDVARR extensions are created and used. Also, cleaned up a few minor points in NPOL TSR to reflect current usage. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20127 fe389314-cf27-0410-b35b-8c050e845b92
* more progress on the headerlet tsrdencheva2012-10-251-95/+692
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20032 fe389314-cf27-0410-b35b-8c050e845b92
* Updated FITS Convention TSR to include the following sections:hack2012-10-252-20/+162
| | | | | | | | | | | | | - creating the D2IMARR extension - creating the WCSDVARR extension - Summary - D2IMARR header sample in appendix - WCSDVARR header sample in appendix 1 - adding equation numbers to equations git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20031 fe389314-cf27-0410-b35b-8c050e845b92
* fix a typodencheva2012-10-251-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20030 fe389314-cf27-0410-b35b-8c050e845b92
* Added Headerlet_figure_final to STWCS docs. (thought it was already there...)hack2012-10-251-0/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20027 fe389314-cf27-0410-b35b-8c050e845b92
* Updated the primary header section of the headerlet tsr, added ↵dencheva2012-10-233-29/+84
| | | | | | updatewcs.utils to the documentation git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20026 fe389314-cf27-0410-b35b-8c050e845b92
* Updating the FITS Conventions TSR in preparation for final release before ↵hack2012-10-231-43/+104
| | | | | | | | | | | | | ADASS. Changes include: - adding discussion of vafactor - adding discussion of how updatewcs works - corrected tense in discussion of reference file generation - revised how SIP keywords were described git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20024 fe389314-cf27-0410-b35b-8c050e845b92
* Added 'catalog' to the write_headerlet TEAL interface. It already existed ↵hack2012-10-223-7/+9
| | | | | | in the headerlet API, so no changes were needed in the headerlet code itself. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20022 fe389314-cf27-0410-b35b-8c050e845b92
* update docstringsdencheva2012-10-191-10/+25
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20019 fe389314-cf27-0410-b35b-8c050e845b92
* Make sure CRDER* keywords go into the headerlet and remove RMS* keywords ↵dencheva2012-10-021-4/+8
| | | | | | from primary header git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19785 fe389314-cf27-0410-b35b-8c050e845b92
* part of the refactoring, missed this changedencheva2012-10-021-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19781 fe389314-cf27-0410-b35b-8c050e845b92
* Refactored headerlet code works with pywcs.WCS objects now. Also works iwth ↵dencheva2012-10-014-579/+704
| | | | | | non-HST files git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19777 fe389314-cf27-0410-b35b-8c050e845b92
* Revising author order for FITS TSR to reflect final contributions to the ↵hack2012-09-241-1/+1
| | | | | | work and paper. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19661 fe389314-cf27-0410-b35b-8c050e845b92
* Added a paragraph to the FITS Conventions TSR explaining the inclusion of ↵hack2012-09-202-21/+42
| | | | | | the TDD correction. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19564 fe389314-cf27-0410-b35b-8c050e845b92
* Initial updates to headerlet TSR to include a figure and related text.hack2012-09-191-11/+48
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19558 fe389314-cf27-0410-b35b-8c050e845b92
* Replaced all references to Paper IV with 'FITS Distortion Paper' in docs, as ↵hack2012-09-194-18/+18
| | | | | | Paper IV now refers to Time coordinates. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19557 fe389314-cf27-0410-b35b-8c050e845b92
* Added more explanation about the data arrays of the NPOLFILE and the ↵hack2012-09-191-3/+10
| | | | | | subsampling rules. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19556 fe389314-cf27-0410-b35b-8c050e845b92
* Removing extraneous title for FITS COnvention TSR from STWCS documentation ↵hack2012-09-191-3/+0
| | | | | | index. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19555 fe389314-cf27-0410-b35b-8c050e845b92
* Updated the FITS Conventions TSR again, this time with FITS file extension ↵hack2012-09-181-8/+79
| | | | | | listing for sample science image and some section headings for all the Appendices. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19554 fe389314-cf27-0410-b35b-8c050e845b92
* Added sample SCI header illustrating the use of all the WCS keywords, along ↵hack2012-09-181-14/+188
| | | | | | with references for the Paper IV and SIP papers. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19553 fe389314-cf27-0410-b35b-8c050e845b92
* Added NPOL and D2IM file examples as Appendices to fits_conventions TSR.hack2012-09-181-4/+180
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19552 fe389314-cf27-0410-b35b-8c050e845b92
* Updating fits_conventions TSR with figures, along with some minor ↵hack2012-09-186-12/+36
| | | | | | corrections to other TSRs. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19551 fe389314-cf27-0410-b35b-8c050e845b92
* fixed a bug in populating cperror keywordsdencheva2012-09-101-7/+11
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19338 fe389314-cf27-0410-b35b-8c050e845b92
* Write out the correct keyword name for error values in wcsdvarr extensions, ↵dencheva2012-09-061-3/+2
| | | | | | 'CPERR', instead of 'CPERROR', and populate the keyword with values from the data arrays. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19145 fe389314-cf27-0410-b35b-8c050e845b92
* do not attempt to make a correction if idcmodel is Nonedencheva2012-08-302-0/+6
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19030 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a problem with headerlet.apply_as_primary that arose from changes from ↵hack2012-06-202-2/+2
| | | | | | | | | r17090 (adding support for simple FITS files) as reported in Ticket #910. This should allow all regression tests for STWCS.WCSUTIL.headerlet to pass, based on the fact that the test now passes when run manually with these changes. This resolves the last of the critical issues for STWCS prior to its release with AstroDrizzle, so the version ID was incremented to 1.0.0 as well. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@17442 fe389314-cf27-0410-b35b-8c050e845b92
* Problems with attaching headerlets to drizzled images in simple FITS format ↵hack2012-05-312-54/+89
| | | | | | have finally been resolved. This included changes to the interpretation of the sciext parameter to write_headerlet and create_headerlet functions to make them more general. It also removed the last(?) explicit reference to 'sci,1' extension. In addition, updates to WCSCORR tables have been turned off when working with drizzled images in simple FITS format. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@17090 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed problems with updatewcs not finding single filter usage case in IDCTAB ↵hack2012-05-241-14/+14
| | | | | | for WFPC2 data. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@16948 fe389314-cf27-0410-b35b-8c050e845b92
* fixed a problem with archiving a WCS in simple fits when wcsname is missingdencheva2012-04-181-1/+4
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@16261 fe389314-cf27-0410-b35b-8c050e845b92
* Modified a few print statements in altwcs to make 'updatewcs' a little less ↵hack2012-04-171-7/+7
| | | | | | disconcerting for users to address an issue raised in astrodrizzle testing. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@16258 fe389314-cf27-0410-b35b-8c050e845b92
* Based on a report by Andy, a bug was fixed in the headerlet code that had ↵hack2012-04-111-4/+6
| | | | | | resulted in duplication of entries in the WCSCORR table when updating an image with a headerlet. The 'attach_to_file' method of the Headerlet class was modified to only update the WCSCORR table upon request, as it gets called by other routines which are already updating WCSCORR. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@16151 fe389314-cf27-0410-b35b-8c050e845b92
* fix to archiveWCSdencheva2012-03-161-1/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15729 fe389314-cf27-0410-b35b-8c050e845b92
* Corrected a typo in one of the updatewcs parameter comments.hack2012-03-151-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15632 fe389314-cf27-0410-b35b-8c050e845b92
* The primary wcs can have a WCSNAME, so if wcsname=' ' in the call to ↵dencheva2012-03-151-1/+3
| | | | | | archiveWCS, set wcsname to the one in the primary WCS git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15625 fe389314-cf27-0410-b35b-8c050e845b92
* deleteWCS did not detect the case of a data array in the primary hdu when ↵dencheva2012-03-151-7/+2
| | | | | | the file is not simple fits. The file checking is more robust now. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15624 fe389314-cf27-0410-b35b-8c050e845b92
* Update to STWCS.WCSUTIL.wcscorr to turn off initialization of WCSCORR table ↵hack2012-03-132-2/+3
| | | | | | for simple FITS files. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15608 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed the last two minor errors in stwcs--these are mainly just typos ↵embray2012-02-271-3/+3
| | | | | | (k.key->c.keyword, and removed stray end of line commas that were causing tuple values to be treated as a 1-tuple containing a tuple. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15287 fe389314-cf27-0410-b35b-8c050e845b92
* Don't assume that there are definitely any HISTORY cards.embray2012-02-241-2/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15285 fe389314-cf27-0410-b35b-8c050e845b92
* Fixes a few more problems with the new Header API encountered in stwcs. ↵embray2012-02-231-11/+13
| | | | | | This fix relies on r1384 from pyfits. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15202 fe389314-cf27-0410-b35b-8c050e845b92
* Should fix most problems in stwcs due to pyfits Header updates. The main ↵embray2012-02-2212-442/+450
| | | | | | issue that caused incompatibility is that slices of headers (including by wildcard patterns) now returns a new Header rather than a list of cards. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15198 fe389314-cf27-0410-b35b-8c050e845b92
* Removing an (unnecessary?) call to .setPscale() which no longer exists for ↵hack2012-02-211-1/+0
| | | | | | deep copies of HSTWCS objects. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15196 fe389314-cf27-0410-b35b-8c050e845b92
* Add logic to wcscorr.update_wcscorr that allows it to reformat an old ↵hack2012-02-171-1/+15
| | | | | | WCSCORR table extension written out by previous versions of this code. The newly formatted table should contain all the previous table's information (as it gets created using init_wcscorr) and will conform to the latest table format (for now and for whatever that may end up being in the future). This will prevent the code from crashing when processing data updated with previous versions of 'updatewcs()' or 'tweakreg' from the drizzlepac package. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@15172 fe389314-cf27-0410-b35b-8c050e845b92
* Add WCSNAME from the first input WCS to the output WCS object created by ↵hack2012-02-131-0/+2
| | | | | | stwcs.distortion.utils.output_wcs(). git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@14965 fe389314-cf27-0410-b35b-8c050e845b92
* Logic was added to wcscorr.update_wcscorr() to prevent it from trying to ↵hack2012-01-301-1/+4
| | | | | | update WCSCORR tables when the input image is a simple FITS file. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@14693 fe389314-cf27-0410-b35b-8c050e845b92