summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Corrected typo in 'stwcs.updatewcs.__init' function 'getNrefchip' to ↵hack2009-12-071-1/+1
| | | | | | recognize 'WFC' as the ACS detector, not 'WCS'. WJH git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8476 fe389314-cf27-0410-b35b-8c050e845b92
* Allow arbitrary number of axes in a lookup tabledencheva2009-10-212-98/+81
| | | | 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-153-27/+29
| | | | 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-132-18/+33
| | | | | | 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
* Added code to handle iraf environment variablesdencheva2009-10-011-2/+2
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8315 fe389314-cf27-0410-b35b-8c050e845b92
* Added code which allows to create an HSTWCS object without the requirement ↵dencheva2009-09-243-47/+43
| | | | | | to tie it to an instrument and detector (WCS headerlets). Also better handling of iraf type fits names git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8308 fe389314-cf27-0410-b35b-8c050e845b92
* Modified logic for TDD correction, so that it is always applied for ACS/WFCdencheva2009-07-271-9/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8163 fe389314-cf27-0410-b35b-8c050e845b92
* Removed code related to d2im correction. Changed the type of CDELT to be float.dencheva2009-07-272-14/+4
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8162 fe389314-cf27-0410-b35b-8c050e845b92
* Remove d2im support from stwcs, since it is now part of pywcs.mdroe2009-07-221-178/+48
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8151 fe389314-cf27-0410-b35b-8c050e845b92
* future division in various install/setup codesienkiew2009-06-032-0/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8074 fe389314-cf27-0410-b35b-8c050e845b92
* Moved stwcs from develpment area to stsci_python to be included in the ↵dencheva2009-04-290-0/+0
| | | | | | nightly builds. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@7980 fe389314-cf27-0410-b35b-8c050e845b92
* More name changesdencheva2009-04-296-9/+9
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/stwcs@7979 fe389314-cf27-0410-b35b-8c050e845b92
* Changed names dencheva2009-04-292-4/+4
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/stwcs@7977 fe389314-cf27-0410-b35b-8c050e845b92
* Renamed hstwcs to udpatewcsdencheva2009-04-297-0/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/stwcs@7976 fe389314-cf27-0410-b35b-8c050e845b92
* Renaming packages:dencheva2009-04-290-0/+0
| | | | | | | | | updatewcs --> stwcs updatewcs.hstwcs --> updatewcs git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/stwcs@7975 fe389314-cf27-0410-b35b-8c050e845b92
* These changes allow the HSTWCS object ot be used for transformations and ↵dencheva2009-04-284-9/+28
| | | | | | 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-262-8/+8
| | | | | | 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
* Changed imports of numpy (as np).dencheva2009-03-264-29/+24
| | | | | | | | Added d2imcorr parameter to top level updatewcs function. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7803 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
* WFPC2 IDCTAB coefficients include the relative chip to chip rotation. This ↵dencheva2009-03-191-4/+2
| | | | | | rotation has to be taken out of the coefficients before the WCS is recomputed. The rotation was done in the opposite direction and this change fixes the problem. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7778 fe389314-cf27-0410-b35b-8c050e845b92
* Minor comment changedencheva2009-03-181-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7777 fe389314-cf27-0410-b35b-8c050e845b92
* More on detector to image correctiondencheva2009-03-183-7/+153
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7776 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
* Added code which populates the science file with information about detector ↵dencheva2009-03-175-10/+56
| | | | | | 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
* Changed the name of the kw recording the dgeofile used for the lookup tables ↵dencheva2009-03-172-7/+7
| | | | | | to DGEOEXT. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7766 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
* had the wrong value assigned to crpix2dencheva2009-03-111-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7737 fe389314-cf27-0410-b35b-8c050e845b92
* 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