Skip to content

Feature/cored nfw#280

Merged
NiekWielders merged 9 commits intomainfrom
feature/cored_NFW
Feb 13, 2026
Merged

Feature/cored nfw#280
NiekWielders merged 9 commits intomainfrom
feature/cored_NFW

Conversation

@NiekWielders
Copy link
Copy Markdown
Collaborator

added scatter version of cnfw_mcr

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scatter-enabled Ludlow mass–concentration–redshift (MCR) variant for the cored NFW (cNFW) spherical mass profile, wiring it into the public mass-profile API and providing prior configuration and tests.

Changes:

  • Added cNFWMCRScatterLudlowSph profile using Ludlow MCR with a configurable scatter_sigma.
  • Exposed the new profile through autogalaxy.profiles.mass and autogalaxy.profiles.mass.dark exports and added a priors YAML.
  • Extended existing NFW scatter tests with coverage for the new cNFW scatter spherical profile.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test_autogalaxy/profiles/mass/dark/test_nfw_scatter.py Adds a new test for cNFWMCRScatterLudlowSph scale-radius changes with scatter.
autogalaxy/profiles/mass/dark/cnfw_mcr_scatter.py Introduces the new cNFW Ludlow MCR scatter spherical profile.
autogalaxy/profiles/mass/dark/cnfw.py Changes cNFWSph convergence/potential from raising to returning zeros.
autogalaxy/profiles/mass/dark/init.py Re-exports the new scatter cNFW MCR class.
autogalaxy/profiles/mass/init.py Re-exports the new scatter cNFW MCR class at the mass-package level.
autogalaxy/config/priors/mass/dark/cnfw_mcr_scatter.yaml Adds prior configuration for cNFWMCRScatterLudlowSph.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NiekWielders NiekWielders merged commit 438988c into main Feb 13, 2026
8 checks passed
@Jammy2211 Jammy2211 deleted the feature/cored_NFW branch February 13, 2026 13:43
@Jammy2211 Jammy2211 restored the feature/cored_NFW branch February 13, 2026 13:43
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.

2 participants