AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

BUG: Disable log scale on plot_cost_convergence when negative #267

Closed carterbox closed 1 year ago

carterbox commented 1 year ago

Purpose

Prevent error from plotting Poisson cost function objectives.

Approach

Disable the log scale on the y-axis if any of the cost function values are non-positive.

Pre-Merge Checklists

Submitter

Reviewer