-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix logic to not align grism data in standard pipeline (#1243) * Pull changes from master in to build 3.4.0rc3 * Insure both FLT and FLC headers have same a posteriori fit keywords (#1238) * Update DRZ headers with same WCS keywords as DRC headers * Restore align_utils * Fixed problem in pipeline processing * Fix cut-and-paste error * update how make_poller_files.py generates visit numbers to account an edge case (#1221) * make_poller_files.py: updated how visit number column of .out files is determined. * diagnostic_utils.py: updated how the value for visit number in section "general information" is generated to protect against edge case * RickerWavelet Kernel for SBC needs to have dimensions which are odd. (#1246) Changed to 23 from 24. * Address issue of logging for PyTest tests (#1247) * Added better traceback information to the Exception in product.py. Added/renamed a pytest: test_svm_wcsonly.py to test_svm_canary.py and renamed its associated input file containing a list of filenames: test_acs_hrc_sbc_input.out to acs_hrc_sbc_input.out. * Modified the align.py module, perform_align() and determine_fit_quality(), by defining global variables to use for the log file handler and log filename. This was done to address the PyTests from having an error looking for a directory associated with the first test as all PyTests are done in a single Python session. The error would cause the test to fail, and the tests need to be executed to ensure the algorithms continue to work as expected. Essentially, the log file handler is reset as necessary so a fresh handle is assured for each new test. Some PyTests were updated to PASS. Updating the tests further is a topic for a different PR. * Changes done as a result of PR review: (1) PyTest updates to make some comparisons more efficient by using NumPy.isclose, and (2) try/except the os.remove() which could fail on Windows. There is no impact here for Operations as this would be on a Windows system. * Build process (#1244) fix build system * Remove logic from align (#1250) * Remove nictools as a dependency (#1245) * remove nictools as a dependency by moving the code into drizzlepac * remove unused import * MVM: Make tool to quantify quality of GAIA alignment generic for general use (#1241) * analyze_mvm_gaia_alignment.py: added subroutine 'apply_gaia_pm_correction' * analyze_mvm_gaia_alignment.py: Created subroutine find_and_match_sources() from lines 224-264 * analyze_mvm_gaia_alignment.py: reordered find_and_match_sources() inputs to be in a more logical order; Fleshed out find_and_match_sources() docstring 'Parameters' descriptions; Updated apply_gaia_pm_correction() docstring; Added for loop and logic to perform() to try to run find_and_match_sources() with custom-computed FWHM value and fail over to hard-coded value * analyze_mvm_gaia_alignment.py: Fixed misspelled words, PEP8 issues * analyze_mvm_gaia_alignment.py: removed unused subroutine apply_gaia_pm_correction(). * analyze_mvm_gaia_alignment.py: Added a few lines of code to report WCSNAME for each input image in perform() * analyze_mvm_gaia_alignment.py: Added a few lines of code to report WCSNAME for each input image in perform() * analyze_mvm_gaia_alignment.py: Fleshed out head-end docstring. * analyze_mvm_gaia_alignment.py: refactored commandline argument parsing to accept either a list of flc/flt files or a file containing a list of input flc/flt files * analyze_mvm_gaia_alignment.py: refactored commandline argument parsing to accept either a list of flc/flt files or a file containing a list of input flc/flt files * analyze_mvm_gaia_alignment.py: refactored perform() so that it can handle either a user-specified list of flc/flt files or a user-specified name of a text file containing a list of flc/flt files. * analyze_mvm_gaia_alignment.py: refactored perform() so that it can handle either a user-specified list of flc/flt files or a user-specified name of a text file containing a list of flc/flt files. * analyze_mvm_gaia_alignment.py: Added min_n_matches as user-defined input parameter to perform() as per reviewer's suggestion * analyze_mvm_gaia_alignment.py: tweaked the np.invert() call in step 4. * Fix incorrect drizzling of 0-weight input pixels (#1222) * Fix incorrect drizzling of 0-weight input pixels * Fix unit test * Refine headers for filter and total products (#1249) * Refine headers for filter and total products * Fix parameter naming bug * Fixed typos in rules files and docstring * Add tables as a dependency for the use of Pandas Co-authored-by: Michael Dulude <[email protected]> Co-authored-by: mdlpstsci <[email protected]> Co-authored-by: Nadia Dencheva <[email protected]> Co-authored-by: Mihai Cara <[email protected]>
- Loading branch information
1 parent
62161bb
commit 03a8865
Showing
77 changed files
with
3,065 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
include RELIC-INFO | ||
recursive-include doc * | ||
global-include *.py *.md *.notes *.yml *.toml | ||
global-include *.x *.c *.h *.par | ||
exclude */version.py | ||
prune .pytest_cache | ||
prune .eggs | ||
prune .git | ||
prune relic | ||
prune drizzlepac/htmlhelp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.