Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jpas_forecast: make photo-z scatter sigma0 configurable#259

Merged
vitenti merged 2 commits into
masterfrom
jpas-forecast-configurable-photoz-sigma0
Jun 6, 2026
Merged

jpas_forecast: make photo-z scatter sigma0 configurable#259
vitenti merged 2 commits into
masterfrom
jpas-forecast-configurable-photoz-sigma0

Conversation

@vitenti

@vitenti vitenti commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Thread a configurable photo-z scatter normalization (sigma0) through the JPAS forecast generation.
  • Add a --cluster-redshift-sigma0 CLI option (default 0.1, min=0.0) that flows into create_cluster_redshift for the GAUSS relation; NODIST ignores it.
  • Fix a duplicated docstring line in create_cluster_redshift.

Files

  • numcosmo_py/app/generate.py — new CLI option, passed through to the generator.
  • numcosmo_py/experiments/jpas_forecast24.pycreate_cluster_redshift accepts sigma0; plumbed through generate_jpas_forecast_2024.

🤖 Generated with Claude Code

vitenti and others added 2 commits June 6, 2026 15:30
Thread a configurable photo-z scatter normalization (sigma0) through the
JPAS forecast generation. Add a --cluster-redshift-sigma0 CLI option
(default 0.1) that flows into create_cluster_redshift for the GAUSS
relation; NODIST ignores it. Also fix a duplicated docstring line.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@codecov

codecov Bot commented Jun 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.52%. Comparing base (49f23aa) to head (d66b6da).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
+ Coverage   77.47%   77.52%   +0.04%     
==========================================
  Files         665      665              
  Lines      110904   110905       +1     
==========================================
+ Hits        85928    85980      +52     
+ Misses      24976    24925      -51     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vitenti vitenti merged commit 5b13e67 into master Jun 6, 2026
18 checks passed
@vitenti vitenti deleted the jpas-forecast-configurable-photoz-sigma0 branch June 6, 2026 20:50
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.

1 participant