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

Kuiper Table Installation #63

Open
DanielHHowell opened this issue Mar 9, 2019 · 8 comments
Open

Kuiper Table Installation #63

DanielHHowell opened this issue Mar 9, 2019 · 8 comments

Comments

@DanielHHowell
Copy link

Having difficulty with the Kuiper table - receiving this error when trying to run the test: "[Errno 2] No such file or directory: '/home/daniel/anaconda3/lib/python3.7/site-packages/data/kuiper_table.npy'". Tried manually downloading from the repo and placing it in the directory it was looking for but received an axis error so not sure if that was the right thing to do

@fabiansinz
Copy link
Contributor

I guess you made sure that the file was actually placed there? Did you check the file right?

@DanielHHowell
Copy link
Author

Yes I tried placing the file there, and I believe the axis error is because N>>500 in the lookup table

@dominikstrb
Copy link

I got the same error, because my N was too large. Does anyone know a fix for this?

@DanielHHowell
Copy link
Author

DanielHHowell commented Dec 3, 2020

I can't remember if I was able to get it working, but looking back at the project it seems for one reason or another I switched to using astropy.stats.kuiper

@philippberens
Copy link
Contributor

In this case, you can just use the last line, and P will be < than the pvalue in the last line.

@dominikstrb
Copy link

Thanks. I believe this is what is tried to be achieved here, but it does not work in my case. If I add -1 to that line, it works.

If you would like your library to be pip-installable without the need for users to download additional files, you could use this in your setup: https://python-packaging.readthedocs.io/en/latest/non-code-files.html.

@philippberens
Copy link
Contributor

sorry, i really should get back to being better on taking care of this code... new years resolutions!

@A-ep93
Copy link

A-ep93 commented Aug 13, 2021

Is this (using the value of the last line of the table (N=501) for all larger sizes of arrays) a safe choice for both cases when the hypothesis gets rejected/accepted?

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

No branches or pull requests

5 participants