| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
image header by 'updatewcs'; namely, idcv2ref, idcv3ref, idctheta. This will allow for the computation of the 'troll' angle strictly from HSTWCS attributes without having to read in separate information from the header or from the IDCModel.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@44009 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
keywords from the primary header and raising an error. Resolves #1173.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@40546 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@40327 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@40221 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@40220 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@39775 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
random ordering of keys in the wcsnames dict. This update supports the changes for Ticket #1165.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@34873 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
specifically, TDD_CXA* and TDD_CXB*.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@34759 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
non-HST data as well as HST data. These changes only support data already supported by astropy.wcs and do not affect any aspect of HST support. No support for undistorting non-HST data should ever be implied or assumed.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@34531 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
| |
of a bug in CompImageHDU that does not allow `del` on non-existent header keywords.
For more details see https://github.com/astropy/astropy/issues/2594
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@32334 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
and TDD_CYB as new header keywords for 2014 TDD correction, and updated _restore() to reset those keywords to 0.0 everytime so that if TDDCORR=OMIT, it will be obvious.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31920 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31371 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31370 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31270 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31259 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31253 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31252 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
|
| |
`NoConvergence` exception class;
2. Minor performance tweaking in the non-adaptive part of the code;
3. Added reference to the theory, numerical method, and algorithm description on the GitHub;
4. Fixed typos in the comments.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31251 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31245 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31240 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31128 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
diverging/invalid coordinates compared to r31125. Improvements/corrections in code formatting, comments, and help.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31126 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
| |
r31123 that address issues described in ticket #1121 and ticket #1122, by implementing a more robust handling of the divergent solutions. The new parameter `detect_divergence` will allow to detect divergent solutions at each iteration. Now, even if `adaptive` is set to `False`, assuming `detect_divergence` is `True`, when divergent solutions are detected `all_sky2pix` will automatically switch from the highly efficient fully vectorized algorithm to a less efficient (~30%) (still vectorized) but adaptive algorithm.
Updated comments and examples to `all_sky2pix` to reflect the changes.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31125 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
| |
2. improved NoConvergence error class and its documentation;
3. implemented detection of a divergent numerical method (previously this would have been impossible to distinguish why a method does not converge: was it due to too low maxiter (and or accuracy) setting or it was due to inherent divergence of the method for given deometric distortions.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31123 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
| |
depending on the format of the input data to bring all_sky2pix to behave similarly to other similar functions: wcs_pix2sky, wcs_sky2pix, all_pix2sky.
2. Major improvements (10x for non-vetorized use and ~400x for vectorized use) in performance of the function.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31122 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
header) remains consistent with full size of FITS file after updates.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@28702 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@27708 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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 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
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@26284 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23830 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23819 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
images with no SIPNAME.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23439 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21532 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@21420 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20130 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20019 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
from primary header
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19785 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19781 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
non-HST files
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@19777 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
| |
r17090 (adding support for simple FITS files) as reported in Ticket #910. This should allow all regression tests for STWCS.WCSUTIL.headerlet to pass, based on the fact that the test now passes when run manually with these changes.
This resolves the last of the critical issues for STWCS prior to its release with AstroDrizzle, so the version ID was incremented to 1.0.0 as well.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@17442 fe389314-cf27-0410-b35b-8c050e845b92
|