Closed chkim-usgs closed 1 year ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 0%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 16.24%. Comparing base (
b9a28e6
) to head (df000a4
). Report is 29 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
ale/drivers/lo_drivers.py | 0.00% | 5 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Addresses https://github.com/DOI-USGS/ale/issues/573
The
numpy
solution is from https://stackoverflow.com/a/20555267.Both the
numpy
solution andaffine6p
solution uses the least squares method (repo link foraffine6p
here).This file affine_differences.txt shows the pytest difference output between the
affine6p
andnumpy
transformation estimations, respectively. Thenumpy
output is fairly accurate to around the 10th decimal in comparison to the existingaffine6p
output in thetest_naif_keywords()
test.Updated the
test_lo_drivers.py
to assert theTRANSX
,TRANSY
,ITRANSS
, andITRANSL
values are almost equal to theaffine6p
output.Licensing
This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words: