| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
CardList and not a Header. Another example of the Header API being not great...
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13332 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
pydrizzle and stsci.tools. I ought to write a tool for managing this. However, if we start using zest.releaser to do our releases it should be easier to manage...
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13330 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
trunk. Some additional minor cleanup.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13329 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
from pkg_resources. I only did this with packages that were already using __svn_version__, __full_svn_info__, etc. to begin with.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13327 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13266 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
some point during installation), but adding them to svn:ignore to get rid of 'svn status' noise.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13262 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
install each sub-distribution. This allows us to use the --no-deps option to skip dependency checking by each package, which eliminates a lot of installation noise. Instead, dependency checking is done just once at the very end of the process. Also explicitly added zip_safe=False to each distribution. This was already the case for most of them anyways, but making it explicit eliminates still more noise, and ensures that all our distributions are installed in a consistent manner.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13261 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'setup.py install' in its own process, which ends up working better when, for example, an older version of d2to1 or stsci.distutils is being replaced.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13242 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
to the setup_refactoring branch (however, coords, pysynphot, and pywcs are still being pulled from the astrolib setup_refactoring branch. Will have to do that separately then update the svn:externals)
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13225 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
to work on simple FITS images as well as MEF files. WJH
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13141 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
only print the names of non-CLEAR filters, for all instruments. This addresses concerns from the WFC3 team where this code reported finding an IDCTAB row for 'F606W and CLEAR'. These print statements may eventually be moved to only be printed to a log file, but for now, these format changes would still be used even after that move.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13125 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
header which resulted in kw duplication after the headerlet was applied. Added code which cleans the primary header before applying the headerlet.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13052 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
allow applying a headerlet without creating and updating a wcscorr table. May be useful not only for testing ...
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13051 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13049 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13048 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13047 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13046 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13000 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
to avoid creating an empty file when logging is not requested.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12996 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
updating a simple FITS file.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12801 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
WCSCORR table to (try to) insure that the last row will always be blank for use in initializing the new empty rows which get added to the old table.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12718 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
rows that gets added each time, and to maintain the same header information from one update to the next.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12715 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add EXTVER keyword to WCSCORR table extension in 'init_wcscorr()'
- revised how pad rows are defined when creating a WCSCORR table
- added logic to only work with NPOLFILE and D2IMFILE related keywords in input files that have been updated to use those reference files
- added logic to only delete WCS's from IMAGE extensions to avoid problems of trying to delete a WCS from a table extension
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12710 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
working with NICMOS and WFPC2 data; specifically, avoiding applying TDD correction to non-ACS data and updating the header with the UPWCSVER keyword when no HISTORY keywords are present. The changes were tested manually against ACS/WFC data (with and without TDD corrections), WFPC2 image, and a NICMOS image.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12684 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
initializing the WCSCORR table, and in fact, the entire header by archiving the original WCS values if no WCS with wcskey='O' has already been created. This affects the usage of the 'init_wcscorr()' function.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12589 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
rows (pad_rows) to add to the table when there are not enough to record the new WCS solutions.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12529 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
extension version numbers (I should look into fixing that). This makes sure that each headerlet HDU appended to a file is given a sensible extension version by default.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12459 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
| |
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12458 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'wcscorr.find_wcscorr_row()' was modified to strip blank characters from the end of each element before comparing. This allows the '==' comparison to actually match a blank string and find the rows to be filled. The fix allows the WFC3/IR demo datasets (8 WFC3/IR images) to be processed by betadrizzle.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12456 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
| |
sensibly. It allows users to specify a name for the headerlet generated from
a file, but if hdrname is not specified a sensible default is still used.
Removed support for the destim arg from `applyHeaderlet()`, as it was not used
anywhere.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12446 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
| |
'update_wcscorr'.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12402 fe389314-cf27-0410-b35b-8c050e845b92
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the file's HDU list. And it now also applies the new headerlet to the HDU
list under that, and update's the WCSCORR table with rows for the WCSs in the
new headerlet. This should achieve most of the basic requirements for
headerlet functionality, though I still need to look into reversing the
application of a headerlet...
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12398 fe389314-cf27-0410-b35b-8c050e845b92
|