Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH]: allow axis and weights parameters in
vonmisesmle
Add changes to PR 14533 Move PR changes to right folder Use ``_length`` to compute the generalized sample length - This change will allow weighted vonmisesmle and the use of the ``axis`` parameter in the correct way Add test to use axis and weights parameters in `vonmisesmle`
- Loading branch information
1 parent
1b41891
commit ddff666
Showing
3 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This pull request is to address the lack of "weights" and "axis" parameters on the circstats function ``vonmisesmle``. | ||
The "axis" parameter that existed but was not actually being used allows for fast usage of 2D numpy arrays. | ||
The "weights" parameter is very convenient since it is very common to have data for binned angles. |