gh-360: Integrate Dark Emulator function for 3×2pt analysis#362
gh-360: Integrate Dark Emulator function for 3×2pt analysis#362ryusei172525 wants to merge 2 commits into
Conversation
|
@all-contributors please add @ryusei172525 for code, doc |
|
I've put up a pull request to add @ryusei172525! 🎉 |
|
Hi @ryusei172525 I'm going through this, great work. I am a bit lost on how you foresee to retrieve the observables (i.e: two point statistics). Do you want to get that from cloelib native functions or through the Dark Emulator? Could you please open a branch in playground with a notebook so I see what is the usage you have in mind? |
|
Hi @gcanasherrera , I’m sorry it took three weeks to prepare everything and kept you waiting. I get the two-point statistics (w_p, ΔΣ for GC/GGL) from the Dark Emulator via cloelib’s wrapper (
I also opened a PR in I’d suggest starting with |
|
@all-contributors please add @HironaoMiyatake for ideas |
|
I've put up a pull request to add @HironaoMiyatake! 🎉 |
|
Also @HironaoMiyatake, next time, shout that you provided feedback so I can always track your contributions!! |
|
@all-contributors please add @ahallcosmo for mentoring |
|
I've put up a pull request to add @ahallcosmo! 🎉 |
🚀 Pull Request Checklist
✅ Summary
Add Dark Emulator integration to cloelib for HSC-Y3 style 3×2pt analysis (WL + GC + GGL). This integrates Dark Emulator's nonlinear power spectrum, halo statistics, and HOD model into cloelib's Protocol-based architecture.
🔄 Changes
background_to_darkemu_cparam(): Convert cloelib Background to Dark Emulator cparam formatvalidate_darkemu_cparam(): Validate parameters are within emulator training rangeDarkEmuNonLinearPerturbations: Nonlinear P(k,z) computationDarkEmuHaloPerturbations: Halo statistics (ξ_hm, ξ_hh, HMF)DarkEmuHODPerturbations: HOD-based ΔΣ, w_p, ξ_gg computationDarkEmuHODParameters: Zheng+07 HOD model parameters%.hdf5→*.hdf5🛠 How to Test
📝 Documentation
🏗 Related Issues
Resolves #360
📸 Screenshots (if applicable)
N/A
📌 Additional Notes
dark_emulatorpackage) is required as an optional dependency✅ PR Checklist for Developers
pre-commit run --all-files