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

Remove No scaling warning #158

Open
raphaelshirley opened this issue Jun 12, 2024 · 0 comments
Open

Remove No scaling warning #158

raphaelshirley opened this issue Jun 12, 2024 · 0 comments
Assignees

Comments

@raphaelshirley
Copy link
Member

Currently when a fit fails lephare throws a warning such as:

"WARNING: No scaling --> No z 193"

from:

if (nf == 0) cout << "WARNING: No scaling --> No z " << spec << endl;

I think in general this may be where there is not a single band available. This is an important warning but for some real catalogues this can be true for large numbers of objects. Perhaps it would be better to condense the output to something like:

"WARNING: x objects out of y had no scaling and therefore have no redshift estimate. This is probably due to missing data"

@raphaelshirley raphaelshirley self-assigned this Jun 12, 2024
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