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

Problem regarding running WWZ: raising ValueError #2

Open
AnuvabAstro opened this issue Feb 14, 2022 · 0 comments
Open

Problem regarding running WWZ: raising ValueError #2

AnuvabAstro opened this issue Feb 14, 2022 · 0 comments

Comments

@AnuvabAstro
Copy link

Prof. Aydin,
I am attempting to apply the weighted wavelet transform to one AGN dataset, but I am getting the following error:

Traceback (most recent call last):
File "wwz.py", line 1112, in
args.no_headers, args.max_periods)
File "wwz.py", line 468, in writefile
numpy.set_printoptions(threshold='nan')
File "/home/anuvab/anaconda3/envs/py2/lib/python2.7/site-packages/numpy/core/arrayprint.py", line 246, in set_printoptions
floatmode, legacy)
File "/home/anuvab/anaconda3/envs/py2/lib/python2.7/site-packages/numpy/core/arrayprint.py", line 93, in _make_options_dict
raise ValueError("threshold must be numeric and non-NAN, try "
ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation

The lightcurve and args.txt files are attached. Could you kindly let me know the reason behind the error, and how to circumvent it? In particular, is it because of incorrect low and high-frequency values? Could you kindly let me know how to decide on these frequencies for a particular dataset? It would be really helpful.

regards,
Anuvab Banerjee
SNBNCBS
India

args.txt
lc2.txt

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

1 participant