summaryrefslogtreecommitdiff
path: root/updatewcs/dgeo.py
Commit message (Collapse)AuthorAgeFilesLines
* No code changes, only name changes - all occurences of 'dgeo' changed to 'npol'dencheva2011-03-071-311/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12119 fe389314-cf27-0410-b35b-8c050e845b92
* More docsdencheva2010-10-111-11/+14
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10521 fe389314-cf27-0410-b35b-8c050e845b92
* Added documentaiondencheva2010-09-301-4/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10441 fe389314-cf27-0410-b35b-8c050e845b92
* Moved utils from stwcs to updatewcsdencheva2010-09-221-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10375 fe389314-cf27-0410-b35b-8c050e845b92
* Checked in test code by mistake previouslydencheva2010-03-161-2/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8914 fe389314-cf27-0410-b35b-8c050e845b92
* CDELT is the stepsize of the subsampled full-size dgeo file and is recorded ↵dencheva2010-03-151-12/+10
| | | | | | in the header of the npl file. It is copied from there to the WCSDVARR extension header. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8912 fe389314-cf27-0410-b35b-8c050e845b92
* Modified 'updatewcs' in 'stwcs' to report the CRPIX value corrected for the ↵hack2010-03-051-2/+4
| | | | | | additional pixel in the NAXIS. This correction was tested using a the artificial DGEOFILE generation code added to 'reftools.test_small_dgeo'. WJH git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8834 fe389314-cf27-0410-b35b-8c050e845b92
* Corrected a reference to pyfits HDUList objectsdencheva2010-02-181-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8757 fe389314-cf27-0410-b35b-8c050e845b92
* The dgeo module in stwcs.updatewcs was revised to create header keywords for ↵hack2010-02-171-3/+3
| | | | | | the WCSDVARR extensions that properly match the sampling of the table to the full size image. The computations for the CDELT and CRPIX keywords were the only ones affected. WJH git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8755 fe389314-cf27-0410-b35b-8c050e845b92
* Addressed #507dencheva2010-02-011-44/+44
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8694 fe389314-cf27-0410-b35b-8c050e845b92
* Use 'import numpy as np' and a fix to a header commentdencheva2009-12-231-1/+1
| | | | 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-231-1/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8517 fe389314-cf27-0410-b35b-8c050e845b92
* Fix for missing kw CCDCHIP. Covered the case when IDCTAB kw is not present ↵dencheva2009-12-221-37/+49
| | | | | | or is not a valid file or is present but the file is missing on disk, in which case the idcmodel is restored from the SIP coefficients. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8513 fe389314-cf27-0410-b35b-8c050e845b92
* Allow arbitrary number of axes in a lookup tabledencheva2009-10-211-54/+37
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8365 fe389314-cf27-0410-b35b-8c050e845b92
* Once more - dgeo correction for binned imagesdencheva2009-10-151-17/+7
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8343 fe389314-cf27-0410-b35b-8c050e845b92
* Handle dgeo files for binned images using CDELTdencheva2009-10-141-7/+20
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8341 fe389314-cf27-0410-b35b-8c050e845b92
* Another attempt to get the correct dgeo extension using CCDCHIPdencheva2009-10-141-13/+48
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8340 fe389314-cf27-0410-b35b-8c050e845b92
* Use 'CCDCHIP', not 'EXTVER' when choosing the dgeo extensiondencheva2009-10-131-6/+18
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8336 fe389314-cf27-0410-b35b-8c050e845b92
* Changes to the WCSDVARR extension header which allow mapping of the dgeo ↵dencheva2009-10-131-9/+22
| | | | | | table to image coordinates when the science image is a subarray. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8334 fe389314-cf27-0410-b35b-8c050e845b92
* Removed code related to d2im correction. Changed the type of CDELT to be float.dencheva2009-07-271-2/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8162 fe389314-cf27-0410-b35b-8c050e845b92
* Renamed hstwcs to udpatewcsdencheva2009-04-291-0/+250
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/stwcs@7976 fe389314-cf27-0410-b35b-8c050e845b92
* Renamed updatewcs to hstwcsdencheva2008-12-221-252/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@7406 fe389314-cf27-0410-b35b-8c050e845b92
* -Added SIP correction to look up tablesdencheva2008-12-161-60/+97
| | | | | | | | | -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
* Added parameter 'dgeocorr=True' which will allow to turn DGEO file ↵dencheva2008-10-271-38/+47
| | | | | | 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
* moved hstwcs from general development repository to stsci_python/developmentdencheva2008-08-151-0/+206
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6931 fe389314-cf27-0410-b35b-8c050e845b92