| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13937 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
functions, one of which requires from_ext and to_ext, but not ext. This function is necessary because of the requirement to always keep a copy of the primary WCS in ERR and DQ extensions of HST observations.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13936 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
calls to the function in STWCS, to allow it to strip off a user-specified suffix. The default behavior would be replicate current (old) behavior. This update fixed unwanted differences that showed up in the betadrizzle regression tests.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13934 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
| |
- DISTNAME value now generated without recursively stripping everything after the underscore by relying on fileutil.buildNewRootname()
- error message for 'attach_to_file()' expanded to provide specific reason for failure
- primary header keywords now updated, rather than inserted, by 'updateRefFiles()' to eliminate the problem with creating duplicate keywords
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13932 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
calls to '.getval()'.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13925 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
functions in the headerlet module. Also, adds code to delete fit keyword values from SCI WCS.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13924 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
| |
with direct calls to 'create_headerlet()'. Also, updated the logic for how to handle missing values for 'wcsname', 'wcskey' and 'hdrname' in 'create_headerlet()'.
Initial changes are also included for managing headerlet fit values, such as fit_ra and nmatch. This code still works when those values are not provided or found in the input image.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13923 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
install all the data files associated with the stwcs.gui package (namely, .cfg/.cfgspc and .help files).
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13922 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13921 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13920 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
with the keyword name used by 'updatewcs'.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13919 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'wcsname' and 'wcskey' input values. The changes also result in Exceptions being raised for conditions where HDRNAME is not given, when WCSNAME can't be found when it it needed or when 'wcsname' and 'wcskey' inputs are not consistent with the WCS's in the image. Also, fixes some white-space problems with the HDRNAME logic in 'create_headerlet'.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13918 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'wcsname' and 'wcskey' input values. The changes also result in Exceptions being raised for conditions where HDRNAME is not given, when WCSNAME can't be found when it it needed or when 'wcsname' and 'wcskey' inputs are not consistent with the WCS's in the image.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13917 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'fileutil' into the updatewcs.utils module.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13916 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
module, and to redefine the 'ext' parameter for altwcs functions (archive, restore and delete functions).
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13914 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13913 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
only includes those extensions associated with the SCI extension being included in the headerlet.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13912 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
|
| |
- 'sciext' default changed from None to 'SCI', while now accepting integer values to (try to) support creating headerlets from simple FITS files
- added logic in 'create_headerlet' to not create a SIPWCS extension for a headerlet from a FITS extension which does not have a valid WCS (using hstwcs.wcs.is_unity())
- made update of 'ORIENTAT' optional (same with VAFACTOR) in creating a headerlet
- fixed a bug in the logic in altwcs.archiveWCS that dealt with interpreting the PRIMARY WCS
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13911 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
This version of STWCS (0.9.1) provides support for headerlets based on 'Headerlet Design' wiki document, and includes TEAL interfaces for all public headerlet functions. It also moves the TEAL interface for 'updatewcs' from 'astrodither' to this package. The TEAL interaces have been included as a new 'gui' sub-package in order to keep them separate from the remainder of the package's functionality.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13910 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
this doesn't break with the PyFITS changes from trunk
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13882 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13787 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13786 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13782 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13701 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
properly reflect that the distortion model is specific to each input image.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13698 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
to also include header keywords from the reference file's primary header. This information will provide the user with the source of the calibration data.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13649 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'utils.extract_rootname', so that the same conventions can be used and to eliminate problems that generate values such as 'IDC_./n7n18501j'.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13647 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
when the coefficients are shifted in subarray mode
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13646 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13643 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'ERR' extensions
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13642 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13641 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
by 8/11/2011 version of Headerlet Design document. The function 'compute_distname' was moved from __init__ to utils for use in other STWCS routines if necessary.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13640 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
also a change to and a new delivery of the IDC table for polarizer data. Tested with a private version of IDCTAB.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13639 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
taken in subarray mode.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13637 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
keywords to a science header which does not have any HISTORY keywords. This caused problems with data processed using the IMPHTTAB, as that code no longer reports the files used for the photometry keyword computation as HISTORY keywords.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13616 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
overwritten by an old value
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13565 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
WCS's exist has been fixed.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13554 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13552 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
this change - wcsname, wcskey, clobber.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13548 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
in order to be able to repeatedly run updatewcs on files.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13545 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13539 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
primary WCS. Not passing input parameter check now raises an Error. Not findong a wcskey raises a KeyError.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13537 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
in use. Corrected docstrings.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13535 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13516 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13515 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make all public functions work with HDUList objects in memory (in addition to files)
- make all public functions work with simple fits files
- remove all HST specific assumptions (like extname values)
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13513 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13441 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13423 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
update versions in trunk, so this will help smooth things out a bit. I'll add that I don't think any version numbers in trunk should be updated from the last release version until and unless more development is done on that project (otherwise there's no reason to increase its version number.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13397 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13375 fe389314-cf27-0410-b35b-8c050e845b92
|