Skip to content

Update interpolation method in visualize_tensor() - #95

Closed
MatthewFilipovich wants to merge 1 commit into
mainfrom
fix/phase-visualization
Closed

Update interpolation method in visualize_tensor()#95
MatthewFilipovich wants to merge 1 commit into
mainfrom
fix/phase-visualization

Conversation

@MatthewFilipovich

Copy link
Copy Markdown
Owner

Set interpolation to None

Copilot AI review requested due to automatic review settings April 2, 2026 15:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates visualize_tensor() so the phase subplot no longer forces "bilinear" interpolation and instead sets interpolation to None.

Changes:

  • Change phase-plot imshow kwargs to use interpolation=None instead of "bilinear".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/torchoptics/visualization.py
@codecov

codecov Bot commented Apr 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.92%. Comparing base (b5692e6) to head (671c2ee).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #95   +/-   ##
=======================================
  Coverage   99.92%   99.92%           
=======================================
  Files          38       38           
  Lines        1305     1305           
=======================================
  Hits         1304     1304           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MatthewFilipovich
MatthewFilipovich deleted the fix/phase-visualization branch April 2, 2026 18:31
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.

2 participants