Ancillary functionality

There are a number of ancillary functions which are not directly related to angular statistics.

Mathematics

angst.inv_triangle_number(triangle_number)

The \(n\)-th triangle number is \(T_n = n \, (n+1)/2\). If the argument is \(T_n\), then \(n\) is returned. Otherwise, a ValueError is raised.