You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f139271
Browse filesBrowse the repository at this point in the historyBrowse files
fix(inversion): guard data_subtracted_dict on data=None, harden sparse noise check and data-term dtype (#590)
Corrective follow-up to Discussion #13 phase 1 (#589), from the independent
review on PyAutoLens#757:
- AbstractInversion.data_subtracted_dict raises a clear InversionException
(naming fit.inversion_with_data) when the inversion was built without data,
instead of TypeError / {mapper: None}; subplot_of_mapper and subplot_mappings
catch it and skip the panel.
- check_noise_map_real_imag_equal uses atol=0.0 so tiny unequal sigmas are
rejected rather than waved through by the default absolute tolerance.
- apply_sparse_operator computes the cached data_term from complex128-promoted
copies so one-shot equals sparse_terms_from_chunks for complex64 data.
Tests for all four; red-checked against the reverted source.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments