summaryrefslogtreecommitdiff
path: root/wcsutil
Commit message (Collapse)AuthorAgeFilesLines
* These changes allow the HSTWCS object ot be used for transformations and ↵dencheva2009-04-281-2/+7
| | | | | | when updating the headers git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7974 fe389314-cf27-0410-b35b-8c050e845b92
* The detector to image data array is assigned as an attribute of the HSTWCS ↵dencheva2009-04-281-22/+15
| | | | | | object which sppeds up processing many times. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7968 fe389314-cf27-0410-b35b-8c050e845b92
* More formatting correctionsdencheva2009-04-241-4/+20
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7948 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a problem with formatting inputdencheva2009-04-241-2/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7946 fe389314-cf27-0410-b35b-8c050e845b92
* Added printwcs function to HSTWCS classdencheva2009-04-101-1/+10
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7873 fe389314-cf27-0410-b35b-8c050e845b92
* Added minerr parameter toHSTWCS and D@IMERR kw to primary header. This ↵dencheva2009-03-261-7/+6
| | | | | | allows the detector to image correction to be switched off on the command line git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7820 fe389314-cf27-0410-b35b-8c050e845b92
* Removed wcs_pix2sky method, detector to image correction is not applied in ↵dencheva2009-03-262-37/+82
| | | | | | | | | | | | this case. Added sip2foc method. Added 'minerr' parameter to HSTWCS class to allow switching distortion application off Added docstrings. Changed imports of numpy git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7804 fe389314-cf27-0410-b35b-8c050e845b92
* More on detector to image correctiondencheva2009-03-181-6/+8
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7776 fe389314-cf27-0410-b35b-8c050e845b92
* Added code which populates the science file with information about detector ↵dencheva2009-03-172-4/+8
| | | | | | to image correction - header keywords and a lookup table extension. Cleaned coed. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7770 fe389314-cf27-0410-b35b-8c050e845b92
* Changed the output of pixel to sky methods to be consistent with pywcs.dencheva2009-03-171-21/+30
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7767 fe389314-cf27-0410-b35b-8c050e845b92
* Added detector to image pixel correction. Added a 'minerr' kw as defined by ↵dencheva2009-03-161-12/+26
| | | | | | paper IV CPERR kw git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7765 fe389314-cf27-0410-b35b-8c050e845b92
* If input is not a pyfits.HDUList object close it, otherwise it's the user's ↵dencheva2009-03-161-1/+6
| | | | | | responsibility to close it. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7762 fe389314-cf27-0410-b35b-8c050e845b92
* Initial support for column/row detector 2 image coordinate correctiondencheva2009-03-131-4/+61
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7758 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
* Added support for nicmos, stis, wfc3dencheva2009-02-123-17/+141
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7549 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-101-61/+95
| | | | | | | | | | | | - 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-051-0/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7523 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 bugsdencheva2008-12-161-3/+4
| | | | 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-162-32/+23
| | | | | | | | | -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-111-4/+9
| | | | 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
* 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 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
* Many changes to match the changes in pywcs.dencheva2008-10-221-7/+7
| | | | 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-222-76/+41
| | | | | | | | | | | | | | | | - 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
* moved hstwcs from general development repository to stsci_python/developmentdencheva2008-08-152-0/+283
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/hstwcs@6931 fe389314-cf27-0410-b35b-8c050e845b92