summaryrefslogtreecommitdiff
path: root/distortion
Commit message (Collapse)AuthorAgeFilesLines
* Redoing the r13221-13223 merge in the actual trunk now. This updates trunk ↵embray2011-06-225-1369/+0
| | | | | | to the setup_refactoring branch (however, coords, pysynphot, and pywcs are still being pulled from the astrolib setup_refactoring branch. Will have to do that separately then update the svn:externals) git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13225 fe389314-cf27-0410-b35b-8c050e845b92
* Print statement in stwcs.distortion.mutil.readIDCtab() has been modified to ↵hack2011-06-141-2/+15
| | | | | | only print the names of non-CLEAR filters, for all instruments. This addresses concerns from the WFC3 team where this code reported finding an IDCTAB row for 'F606W and CLEAR'. These print statements may eventually be moved to only be printed to a log file, but for now, these format changes would still be used even after that move. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13125 fe389314-cf27-0410-b35b-8c050e845b92
* Revised how 'output_wcs' computes the new WCS, specifically, correctly ↵hack2011-03-181-5/+6
| | | | | | accounting for the fact that the center computed on the sky is a zero-based computation, not a 1-based computation as assumed before. This eliminates the 1 pixel offset introduced when creating an output WCS with an input WCS which has no distortion model. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12260 fe389314-cf27-0410-b35b-8c050e845b92
* Make a copy of the output WCS before using it.dencheva2011-02-041-2/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@11870 fe389314-cf27-0410-b35b-8c050e845b92
* Added parameter description to utils module.dencheva2011-02-021-1/+27
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@11829 fe389314-cf27-0410-b35b-8c050e845b92
* Corrected a sign-error in 'utils.output_wcs()' in STWCS.distortion. hack2011-01-251-1/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@11786 fe389314-cf27-0410-b35b-8c050e845b92
* A couple of updates were made to 'stwcs.distortion.utils.output_wcs()' to ↵hack2011-01-241-8/+26
| | | | | | make the results more consistent with the MultiDrizzle output by default. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@11782 fe389314-cf27-0410-b35b-8c050e845b92
* Added a check for instrument/detector kw when reading tdd coeffs, so that it ↵dencheva2010-11-191-1/+5
| | | | | | does not print out a wrong warning to the screen. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@11211 fe389314-cf27-0410-b35b-8c050e845b92
* 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
* Changed a warning statementdencheva2010-05-281-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9483 fe389314-cf27-0410-b35b-8c050e845b92
* The default value for 'skew_coeffs' in STWCS.distortion.mutil needed to be ↵hack2010-05-261-1/+1
| | | | | | reset to None so that logic in STWCS.updatewcs.corrections can recognize that there are no TDD coefficients available from the IDCTAB for use. The default set of skew_coeffs in STWCS.updatewcs needed to be updated to include the TDDORDER key and value with a default value of 1 as appropriate for the hard-coded default coeffs. These changes were needed to allow betadrizzle/updatewcs to work correctly with IDCTAB files which do not yet have the TDD coeffs in the PRIMARY header. WJH git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9438 fe389314-cf27-0410-b35b-8c050e845b92
* Removed commented out codedencheva2010-05-211-14/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9432 fe389314-cf27-0410-b35b-8c050e845b92
* Addresses ticket #563dencheva2010-05-211-1/+53
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9431 fe389314-cf27-0410-b35b-8c050e845b92
* - If idc table is not found and idc model cannot be restored from SIP, ↵dencheva2010-01-252-17/+46
| | | | | | | | | | | | 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
* Use 'import numpy as np' and a fix to a header commentdencheva2009-12-232-35/+35
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8518 fe389314-cf27-0410-b35b-8c050e845b92
* 'from __future__ import division' changesdencheva2009-12-234-1/+8
| | | | 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-012-0/+362
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7313 fe389314-cf27-0410-b35b-8c050e845b92
* moved hstwcs from general development repository to stsci_python/developmentdencheva2008-08-153-0/+965
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6931 fe389314-cf27-0410-b35b-8c050e845b92