Skip to content

Scan math robustness

Closes #1708 (closed)

This MR add checks and normalizes API of cen/peak/com.

  • If there is an obvious input mismatch a TypeError is raised
  • If there is a computation problem, a NaN is returned
  • Else the right answer is returned

Merge request reports