You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I recently used the nway-create-fake-catalogue.py command. However, when I try to create the fake catalogue, I get a "ValueError: high <= 0." I have attached the traceback error message here. I was wondering what could be the issue, and what are ways to resolve it?
Thank you.
The text was updated successfully, but these errors were encountered:
There are no sources found nearby, so it could not generate a new source in between.
Stare at your input file for a bit, and try to understand the method of nway-create-fake-catalogue.py
Perhaps you want nway-create-shifted-catalogue.py
Often you need to create your own custom fake catalog for testing per-chance associations, which makes sense for your problem. This depends on your survey coverage, layout, error sizes, and other details.
There should probably be a better error message for this. Adding
assert len(b_nearest)>0, "Method failed: No sources found nearby, could not interpolate a fake source."
above should help. If you have time, could you make the change through a pull request?
Hello,
I recently used the nway-create-fake-catalogue.py command. However, when I try to create the fake catalogue, I get a "ValueError: high <= 0." I have attached the traceback error message here. I was wondering what could be the issue, and what are ways to resolve it?
Thank you.
The text was updated successfully, but these errors were encountered: