Convert edges which represent cosine(angle) to angle.
Edges must not exceed the interval [-1, 1].
- Parameters:
- full_rangebool, default
True Control the output range.
If False, return a histogram ranging from 0 to π.
If True, return a histogram ranging from 0 to 2π, where the second half
is a mirror image of the first.
- Returns:
- hist
Hist1d
- Raises:
- ValueError
Raised if the edges do not represent cosine values.