Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Effective Area IDL Calculation Text File #305

Conversation

joyvelasquez
Copy link
Contributor

This PR updates the original IDL Effective Area text files used for testing XRTpy testing to align with the latest modified IDL linear interpolation method. These updates ensure the test files reflect the new Effective Area calculations, improving accuracy and consistency.

@nabobalis
Copy link
Member

Should the tests pass for these files changes (assuming the failures are due to that)?

@joyvelasquez
Copy link
Contributor Author

Hi @nabobalis

Updating these tests and revising the code method for the interruption tolerance value should help us pass before moving forward with the merge

@@ -128,5 +130,5 @@ def test_effective_area_compare_idl(filename):
assert u.allclose(
actual_effective_area,
IDL_effective_area,
rtol=1e-6,
rtol=1e-4, #Moderate Precision
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it fail with -5 or -6?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently testing different values

@nabobalis
Copy link
Member

This fixes #292 right?

@joyvelasquez
Copy link
Contributor Author

Yes, I'll make sure to reference the issue to the PR and close the issue once I merge this PR

@jslavin
Copy link
Contributor

jslavin commented Dec 19, 2024

My pull request (#310) supercedes this one.

@joyvelasquez joyvelasquez deleted the Updated_Effective_Area_IDL_calculation_text_files branch December 19, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants