summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* The DGEO files were defined to be used after the IDC polynomial ↵dencheva2009-03-101-1/+1
| | | | | | coefficients. To use them with SIP coefficients the first order IDC coefficients should be backed out of the DGEO data by multiplying with the inverse of the scaled cd matrix. The scaling of the cd matrix was done incorrectly - fixed in this revision. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7732 fe389314-cf27-0410-b35b-8c050e845b92
* More changes to pass correctly a pyfits hdu to pywcs without breaking other codedencheva2009-03-101-6/+7
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7731 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a bug when a pyfits object was not passed correctly to pywcs.dencheva2009-03-091-10/+14
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7726 fe389314-cf27-0410-b35b-8c050e845b92
* Corrected a problem with subarraysdencheva2009-02-121-3/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7553 fe389314-cf27-0410-b35b-8c050e845b92
* Added support for nicmos, stis, wfc3dencheva2009-02-125-21/+160
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7549 fe389314-cf27-0410-b35b-8c050e845b92
* Corrections to origin parameter in s2pdencheva2009-02-111-3/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7540 fe389314-cf27-0410-b35b-8c050e845b92
* Cleaned code and added commentsdencheva2009-02-101-20/+23
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7535 fe389314-cf27-0410-b35b-8c050e845b92
* Modified the constructor for HSTWCS. Now it can be created given:dencheva2009-02-104-162/+104
| | | | | | | | | | | | - a filename and extension number - fully qualified filename - a pyfits object and an extension number - if given an instrument and detctor parameters, a template HSTWCS object for that instrument will be created. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7534 fe389314-cf27-0410-b35b-8c050e845b92
* Added verison numbers and 'origin' kw to pywcs callsdencheva2009-02-056-8/+15
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7523 fe389314-cf27-0410-b35b-8c050e845b92
* Initial import of a script to handle image alignment in multidrizzle.dencheva2009-01-201-0/+95
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7454 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a bug, finding dgeo file .dencheva2009-01-141-2/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7445 fe389314-cf27-0410-b35b-8c050e845b92
* Changed namesdencheva2008-12-226-10/+10
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7408 fe389314-cf27-0410-b35b-8c050e845b92
* Renamed hstwcs to updatewcs.dencheva2008-12-220-0/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7407 fe389314-cf27-0410-b35b-8c050e845b92
* Renamed updatewcs to hstwcsdencheva2008-12-225-0/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7406 fe389314-cf27-0410-b35b-8c050e845b92
* Changed setup to be consistent with current pytoolsdencheva2008-12-222-22/+19
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7405 fe389314-cf27-0410-b35b-8c050e845b92
* Added the option of 'N/A' as a value of a dgeo file.dencheva2008-12-191-0/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7403 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed logic with VA kw updatedencheva2008-12-162-6/+13
| | | | | | | Apply TDD correction only if TDDCORR == PERFORM git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7385 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed bugsdencheva2008-12-162-5/+8
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7384 fe389314-cf27-0410-b35b-8c050e845b92
* Forgot to commit a filedencheva2008-12-161-0/+25
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7383 fe389314-cf27-0410-b35b-8c050e845b92
* Added logic to handle the 'DETECTOR' kwdencheva2008-12-162-9/+17
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7382 fe389314-cf27-0410-b35b-8c050e845b92
* -Added SIP correction to look up tablesdencheva2008-12-169-147/+145
| | | | | | | | | -Changed CTYPE to reflect the use of SIP - mappings module was moved to wcsutil git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7381 fe389314-cf27-0410-b35b-8c050e845b92
* Made recording of idcmodel kw to extension header optionaldencheva2008-12-113-7/+14
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7364 fe389314-cf27-0410-b35b-8c050e845b92
* Added methods for updating plate scale and orientation of a WCS.dencheva2008-12-101-7/+33
| | | | | | | Cleaned code. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7360 fe389314-cf27-0410-b35b-8c050e845b92
* Added the option to create an HSTWCS object from a file name.dencheva2008-12-101-27/+89
| | | | | | | Added attributes filename and extname. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7359 fe389314-cf27-0410-b35b-8c050e845b92
* Applied last changes for TDD correction to the basic WCS kw. Header values ↵dencheva2008-12-101-48/+36
| | | | | | are now equal to the 7th decimal place or better. Tested with ACS/WFC data. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7358 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a sign error.dencheva2008-12-081-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7341 fe389314-cf27-0410-b35b-8c050e845b92
* Correct implementation of constructing an output WCS frame. This was tested ↵dencheva2008-12-081-10/+10
| | | | | | with ACS and WFPC2 full-frame single images, with 2 ACS/WFC images and a WFPC2 observation with two chips only. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7340 fe389314-cf27-0410-b35b-8c050e845b92
* Added first order coefficients as attributes to HSTWCS object. Added the ↵dencheva2008-12-032-27/+73
| | | | | | ability to create a default HSTWCS object for a given instrument. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7319 fe389314-cf27-0410-b35b-8c050e845b92
* Changes to the construction of the output wcs. With this version wdrizzle ↵dencheva2008-12-031-130/+20
| | | | | | creates an image which is properly centered and completely visible but the output frame is larger than the image. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7318 fe389314-cf27-0410-b35b-8c050e845b92
* Added code to create output WCS based on footprints of wcs objectsdencheva2008-12-012-0/+362
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7313 fe389314-cf27-0410-b35b-8c050e845b92
* Added TDD correction to WCSdencheva2008-10-293-37/+73
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7210 fe389314-cf27-0410-b35b-8c050e845b92
* Changes related to which parts of the IDC model to record as kw.dencheva2008-10-271-7/+7
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7206 fe389314-cf27-0410-b35b-8c050e845b92
* Added parameter 'dgeocorr=True' which will allow to turn DGEO file ↵dencheva2008-10-275-167/+199
| | | | | | correction off. More changes related to pywcs, cleaned code. Moved logic for which correction to apply to a separate module. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7205 fe389314-cf27-0410-b35b-8c050e845b92
* Added keyword WCSCDATE - local time WCS archive was created to headerdencheva2008-10-271-2/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7203 fe389314-cf27-0410-b35b-8c050e845b92
* Added DGEOCorr to list of allowed corrections and NAXIS1/2 to list of kw to ↵dencheva2008-10-271-3/+3
| | | | | | be archived git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7202 fe389314-cf27-0410-b35b-8c050e845b92
* Many changes to match the changes in pywcs.dencheva2008-10-224-101/+103
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7189 fe389314-cf27-0410-b35b-8c050e845b92
* - HSTWCS class was modified to dencheva2008-08-227-349/+299
| | | | | | | | | | | | | | | | - not keep the headers as attributes - accept an adittional paramter fobj, consistent with SIP and WCS classes. - The restore method was renamed to get_archive and moved to utils - corrections classes: - updateWCS were turned into classmethods - diff_abgles was moved to utils - restoreWCS() was moved to utils git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6973 fe389314-cf27-0410-b35b-8c050e845b92
* Copied Warren's TDD implementation into hstwcsdencheva2008-08-181-10/+34
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6946 fe389314-cf27-0410-b35b-8c050e845b92
* moved hstwcs from general development repository to stsci_python/developmentdencheva2008-08-1513-0/+2337
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6931 fe389314-cf27-0410-b35b-8c050e845b92