Adding spectroscopic stretch (FoG model)#603
Conversation
|
@LSSTDESC/firecrown-dev : @iagolops and I had a really awful time tracking down the new dependency trees in firecrown 1.15. At some point we had more than 6 different files to try to track down where the code for There's no symmetry between I think the experience now from trying to implement this systematic factory and the CMB Lensing factory is that firecrown is becoming really really hard to understand and develop for without help from the core developers. It's a maze. 😵💫 |
|
Hi @arthurmloureiro, we're sorry for the current messy state. As we have noted in previous CCL/Firecrown meetings, what you're observing is the ongoing process of our reorganization of the physical structure of the package. The messy |
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (26.2%) is below the target coverage (100.0%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #603 +/- ##
========================================
- Coverage 100.0% 99.5% -0.5%
========================================
Files 151 151
Lines 9035 9096 +61
Branches 1033 1038 +5
========================================
+ Hits 9035 9051 +16
- Misses 0 45 +45
🚀 New features to boost your workflow:
|
Hi @marcpaterno ! Thanks for letting us know that this is not the final stage of this refactoring. If I can voice a few concerns about the refactorings in Firecrown:
About 2) my suggestion would be to not deprecate structure between small version changes or we should instead avoid having any student projects to use firecrown until a stable and immutable structure is chosen. First one would be best, given that there currently several student projects ongoing that are using firecrown. |
Description
This commit implements a new systematic,$N(z)$ distribution with a window chosen to model the Fingers-of-God effect. The theoretical approach for this modelling is discussed in 2008.08706. In this commit, we've added the Gaussian and the Lorentzian windows, where the systematic parameter is the velocity dispersion ($\sigma_v$ ) within the redshift bin, where its unity is $\text{km}/\text{s}$ .
SpecZStretch, which convolves theThe (unnormalized) Gaussian convolution is given by:
Here,$\sigma_{s,i}$ is the redshift dispersion in the $i$ -th redshift bin, which is related to the velocity dispersion by:
The image below shows the result of this implementation. It shows the behavior of cross-correlations when applying this new systematic into spectroscopic$N(z)$ distributions.
We (I, @arthurmloureiro, and Bruno Moraes) implemented this systematic based on PhotoZShiftandStretch, where we added the two main functions
dndz_stretch_fog_gaussiananddndz_stretch_fog_lorentzian, which are similar todndz_shift_and_stretch_active.To-do:
__init__ofSourceGalaxySpecZStretchType of change
Checklist:
bash pre-commit-checkand fixed any issues