summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* remove unused variablesdencheva2013-12-031-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@27708 fe389314-cf27-0410-b35b-8c050e845b92
* Updated API for stwcs.wcsutil.hstwcs.HSTWCS.all_sky2pix() to accept both 1-D ↵hack2013-11-181-1/+29
| | | | | | | | | arrays for Ra,Dec and a single 2-D array to be consistent with pywcs.WCS.all_pix2sky(). This resolves #1076. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@27470 fe389314-cf27-0410-b35b-8c050e845b92
* Very minor/simple update to HSTWCS.all_sky2pix() method to not update output ↵hack2013-10-301-4/+4
| | | | | | values based on an increasingly bad inversion. This only affects positions at an extreme distance outside the frame where the distortion model breaks down and becomes unstable. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@27118 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a bug introduced in r26987 to the headerlet module that caused ↵hack2013-10-241-8/+9
| | | | | | headerlet.apply_as_primary to fail when the headerlet was created directly using the Headerlet class and an HDUList as input. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26990 fe389314-cf27-0410-b35b-8c050e845b92
* STWCS v1.1.2: This update only includes changes to the headerlet module and ↵hack2013-10-236-47/+116
| | | | | | | | | | | | related TEAL interface modules. The changes include: - Fix calls to PyFITS to allow writing of headerlet out to files - Implement support for multiple file inputs for apply_header, delete_headerlet and attach_headerlet TEAL tasks and their underlying Python interfaces. (Ticket #1063) The docstrings for all updated headerlet functions were updated to reflect the new input capabilities. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26987 fe389314-cf27-0410-b35b-8c050e845b92
* Interface with 'new' PyFITS (>v3.1.x) and its writeto() method were ↵hack2013-10-171-16/+38
| | | | | | corrected with this change. This allows the Headerlet class to work again to create new headerlets. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26877 fe389314-cf27-0410-b35b-8c050e845b92
* remove easier_installsienkiew2013-09-111-20/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26688 fe389314-cf27-0410-b35b-8c050e845b92
* Problems with using apply_headerlet_as_primary() on WFPC2 data have been ↵hack2013-08-281-2/+5
| | | | | | corrected in this revision. These included counting the D2IM arrays correctly and eliminating a typo for a variable. These changes were tested using both a WFPC2 image and the same ACS image that demonstrated the previous bug. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26500 fe389314-cf27-0410-b35b-8c050e845b92
* The apply_as_primary() method of the Headerlet class was revised to look for ↵hack2013-08-271-5/+8
| | | | | | | | | the correct WCSDVARR (and D2IMARR) extensions from the headerlet. This finished the process where the PyWCS generated object was updated to include the image-specific EXTVER values for each of the WCSDVARR and D2IMARR extensions. These changes were successfully tested (manually) on the regression test case where the problem was first reproduced after being alerted to this problem by Shireen when trying to document the apply_headerlet_as_primary() function. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26499 fe389314-cf27-0410-b35b-8c050e845b92
* Replace hdu._extver' with 'ext.ver' because of changes to pyfits' API.dencheva2013-08-121-67/+67
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26284 fe389314-cf27-0410-b35b-8c050e845b92
* removed reference to easier_install from setup.cfg; it is no longer usedcslocum2013-08-081-1/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26176 fe389314-cf27-0410-b35b-8c050e845b92
* bringing release changes back to trunksienkiew2013-07-242-2/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@25921 fe389314-cf27-0410-b35b-8c050e845b92
* Updated the return value from coeff_converter.sid2idc so that it returns a ↵hack2013-06-111-1/+1
| | | | | | pair of None values when no OCX/OCY keywords are found in the image header. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@25262 fe389314-cf27-0410-b35b-8c050e845b92
* This update removes all references to .has_key() method, including those for ↵hack2013-04-3011-24/+24
| | | | | | list and dict comprehension, but primarily to work with PyFITS 3.2.dev checked in on 29-Apr-2013. [Trac Ticket #1007] git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@24552 fe389314-cf27-0410-b35b-8c050e845b92
* Remove a hardcoded version stringdencheva2013-04-221-1/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@24443 fe389314-cf27-0410-b35b-8c050e845b92
* Add support for binned images and subarrays to D2IM and NPOL correctionsdencheva2013-04-172-23/+30
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@24316 fe389314-cf27-0410-b35b-8c050e845b92
* The update failed when a new idctab was provided because it tried to remove ↵dencheva2013-04-171-4/+9
| | | | | | a WCS with wkey=' ' and wcsname=' '. Fixed. Also write the name of d2imfile used to the sci extension. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@24315 fe389314-cf27-0410-b35b-8c050e845b92
* When creating a WCS object with NPOl or D2IM correction Pywcs does not keep ↵dencheva2013-04-111-5/+20
| | | | | | track of DPi.EXTVER of the lookup table. In order to recover this information a create_headerlet looks at the header of the science file. However, in the case of a science file with 'old style' D2IM format these keywords are not used , so when writing out headerlets for such file, create_headerlet converts them to the 'new style' and makes up the values for the D2IMi.EXTVER keywords. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@24211 fe389314-cf27-0410-b35b-8c050e845b92
* fix bugs in headerlet related to d2im correctiondencheva2013-03-191-32/+22
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23830 fe389314-cf27-0410-b35b-8c050e845b92
* Merging d2im changes into trunkdencheva2013-03-183-135/+228
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23819 fe389314-cf27-0410-b35b-8c050e845b92
* Fixed a problem in wcscorr with updating the WCSCORR table for drizzled ↵hack2013-02-251-1/+1
| | | | | | images with no SIPNAME. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23439 fe389314-cf27-0410-b35b-8c050e845b92
* making releasesienkiew2013-02-221-27/+24
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23381 fe389314-cf27-0410-b35b-8c050e845b92
* preening setup.cfgsienkiew2013-02-061-7/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@22273 fe389314-cf27-0410-b35b-8c050e845b92
* Added '__version__' to stwcs.__init__ module as patch for new IRAFX build.hack2013-01-301-0/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@21888 fe389314-cf27-0410-b35b-8c050e845b92
* fixing variable problems from import ordersienkiew2013-01-291-11/+7
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@21885 fe389314-cf27-0410-b35b-8c050e845b92
* new locationsienkiew2013-01-290-0/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@21852 fe389314-cf27-0410-b35b-8c050e845b92
* Update version for STWCS to be consistent with last release.hack2013-01-251-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21800 fe389314-cf27-0410-b35b-8c050e845b92
* new installsienkiew2013-01-115-83/+47
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21558 fe389314-cf27-0410-b35b-8c050e845b92
* new_setup.cfg checkpointsienkiew2013-01-111-2/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21553 fe389314-cf27-0410-b35b-8c050e845b92
* minor documentation correctiondencheva2013-01-111-2/+3
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21532 fe389314-cf27-0410-b35b-8c050e845b92
* Adding a WCS diff function to the packagedencheva2013-01-082-136/+150
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21420 fe389314-cf27-0410-b35b-8c050e845b92
* comment on versionsienkiew2013-01-081-1/+4
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21404 fe389314-cf27-0410-b35b-8c050e845b92
* Update TEAL interface to write_headerlet to support a blank value for ↵hack2012-12-051-7/+1
| | | | | | 'output' to result in a headerlet filename of <rootname>_hlet.fits. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20684 fe389314-cf27-0410-b35b-8c050e845b92
* Minor change to insure that NPOL WCSDVARR extensions ALWAYS get written out ↵hack2012-11-091-6/+5
| | | | | | as Float32 datatype, as some NPOL file reference files may have Float64 input arrays which cause PyWCS to choke. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20341 fe389314-cf27-0410-b35b-8c050e845b92
* Adding support for NPOL correction to WFC3 in updatewcs.hack2012-11-051-1/+1
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20240 fe389314-cf27-0410-b35b-8c050e845b92
* Cleaned up the references in the NPOL TSR so that they show up in the HTML ↵hack2012-10-312-9/+6
| | | | | | and PDF. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20143 fe389314-cf27-0410-b35b-8c050e845b92
* Cleaned up the References in the headerlet TSR so that they get reported ↵hack2012-10-312-12/+11
| | | | | | correctly in the PDF, and the HTML pages. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20142 fe389314-cf27-0410-b35b-8c050e845b92
* more changes to npol tsrdencheva2012-10-311-13/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20141 fe389314-cf27-0410-b35b-8c050e845b92
* removed old npol tsr filesdencheva2012-10-314-318/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20140 fe389314-cf27-0410-b35b-8c050e845b92
* moved images to appropriate TSRsdencheva2012-10-319-0/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20139 fe389314-cf27-0410-b35b-8c050e845b92
* Added NPOL TSRdencheva2012-10-3112-0/+323
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20138 fe389314-cf27-0410-b35b-8c050e845b92
* further changes to reorganize the repository structuredencheva2012-10-314-978/+0
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20137 fe389314-cf27-0410-b35b-8c050e845b92
* formatting the tsrdencheva2012-10-312-24/+19
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20136 fe389314-cf27-0410-b35b-8c050e845b92
* Added headerlet tsrdencheva2012-10-312-0/+959
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20135 fe389314-cf27-0410-b35b-8c050e845b92
* Refactored the FITS Conventions TSR so each section was in its own rst doc. ↵hack2012-10-3114-955/+961
| | | | | | This insures that each section comes up in its own HTML page, rather than having 1 very long page for the entire doc. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20134 fe389314-cf27-0410-b35b-8c050e845b92
* Changing how the STWCS TSRs get built by moving them to separate doc ↵hack2012-10-3119-78/+1317
| | | | | | directories for publication. FITS Convention TSR has been moved entirely with the rst files being removed from the STWCS API doc tree. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20133 fe389314-cf27-0410-b35b-8c050e845b92
* Applied changes from Warren's commentsdencheva2012-10-301-27/+27
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20131 fe389314-cf27-0410-b35b-8c050e845b92
* fix docstring indentationdencheva2012-10-291-121/+124
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20130 fe389314-cf27-0410-b35b-8c050e845b92
* updates to headerlet tsrdencheva2012-10-291-80/+95
| | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20129 fe389314-cf27-0410-b35b-8c050e845b92
* Further refinement of FITS Conventions TSR to include more descriptive text ↵hack2012-10-262-34/+72
| | | | | | from NPOL TSR on how WCSDVARR extensions are created and used. Also, cleaned up a few minor points in NPOL TSR to reflect current usage. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20127 fe389314-cf27-0410-b35b-8c050e845b92