Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOD: out of range circ-median-ci #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

miki998
Copy link

@miki998 miki998 commented Dec 30, 2024

Hi,
Thanks for the implementation of pycircstat2, continuing on the former pycircstat.
I quickly got started and stumbled upon a small problem when instantiating a Circle (I unfortunately can't really share the bug), I suggested a very tiny patch for that feel free to check it out and see if it makes sense.

@huangziwei
Copy link
Collaborator

Thank you very much! Is it possible to add a test with some artificial data for this special case (to tests/test_descriptive/test_circ_median_ci())?

@huangziwei
Copy link
Collaborator

@miki998 Thank you very much again, and Happy New Year! I'll take a look after the New Year break.

@@ -0,0 +1,19 @@
,alpha
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the data is as simple as this, we don't need to add it as a dataset, but simply put, alpha = np.arange(18) within the test_circ_median_ci(). Moreover, I tried this but it doesn't break the original code. Maybe I didn't make it clear enough before: can you provide a case of artificial data which breaks the original code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants