summaryrefslogtreecommitdiff
path: root/distortion/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Added a small correction which was accidentally dropped in the previous ↵dencheva2010-08-231-0/+6
| | | | | | debugging git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10133 fe389314-cf27-0410-b35b-8c050e845b92
* Pywcs was changed not to set default values when header is not provided, so ↵dencheva2010-07-191-1/+1
| | | | | | setting ctype here. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9881 fe389314-cf27-0410-b35b-8c050e845b92
* Should call repr instead of str which inserts \ndencheva2010-07-161-3/+4
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9877 fe389314-cf27-0410-b35b-8c050e845b92
* typo in previous check indencheva2010-07-141-9/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9841 fe389314-cf27-0410-b35b-8c050e845b92
* Pywcs was changed not to set the WCS values for a default object (header is ↵dencheva2010-07-141-6/+13
| | | | | | None) and these are the corresponing changes in wcsutil.And some other minor bug fixes. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9839 fe389314-cf27-0410-b35b-8c050e845b92
* - If idc table is not found and idc model cannot be restored from SIP, ↵dencheva2010-01-251-2/+29
| | | | | | | | | | | | idcmodel is always set to None. - Two cases are considered when output_wcs is created and idcmodel for the reference image is None: -- if idcmodel can be found, a RuntimeError will be raised and the user prompted to run 'updatewcs' or pass 'undistort=False' kw. -- if idcmodel cannot be found, the original WCS for the reference object will be returned and used as an output WCS. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8640 fe389314-cf27-0410-b35b-8c050e845b92
* Resolves #501: added an option to create an output WCS without applying the ↵dencheva2010-01-191-5/+11
| | | | | | distortion model. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8612 fe389314-cf27-0410-b35b-8c050e845b92
* 'from __future__ import division' changesdencheva2009-12-231-0/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8517 fe389314-cf27-0410-b35b-8c050e845b92
* More name changesdencheva2009-04-291-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/stwcs@7979 fe389314-cf27-0410-b35b-8c050e845b92
* Correcting 'output_wcs' in updatewcs.distortion to call the new method ↵hack2009-03-191-1/+1
| | | | | | 'calcFootprint' as a method not an attribute. The new call now works as it was tested under the new MultiDrizzle. WJH git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7780 fe389314-cf27-0410-b35b-8c050e845b92
* typodencheva2009-03-191-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7779 fe389314-cf27-0410-b35b-8c050e845b92
* Footprint is not an attribute of the WCS class - pywcs change 874dencheva2009-03-181-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7771 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
* Changed namesdencheva2008-12-221-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7408 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
* 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-011-0/+225
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7313 fe389314-cf27-0410-b35b-8c050e845b92