normalize¶
-
sherpa.utils.
normalize
(xs)[source] [edit on github]¶ Normalize an array.
Parameters: xs (sequence) – The values to normalize. This must be a 1D array. Returns: ns – The values of xs / sum of xs. Return type: ndarray
sherpa.utils.
normalize
(xs)[source] [edit on github]¶Normalize an array.
Parameters: | xs (sequence) – The values to normalize. This must be a 1D array. |
---|---|
Returns: | ns – The values of xs / sum of xs. |
Return type: | ndarray |