CCL icon indicating copy to clipboard operation
CCL copied to clipboard

Peculiar velocities or magnitudes

Open AlexGKim opened this issue 6 years ago • 10 comments

An implementation of the peculiar velocity (or peculiar magnitude) correlation function. Reference is Equation 29 in https://arxiv.org/pdf/1012.2912.pdf.

AlexGKim avatar Jul 24 '18 21:07 AlexGKim

Hi @AlexGKim, this sounds like a good feature to add. It'd be good to understand your accuracy requirements -- there's an infinite sum in there which will presumably need to be truncated somewhere, and it'd be good to know if you absolutely need curved-sky, or can live with a flat-sky approximation.

Also, do you need a generalisation to supernovae with redshift errors? This seems to assume a delta-fn redshift for both supernovae.

philbull avatar Jul 26 '18 13:07 philbull

Hi @philbull . I suggest using as default the truncation given in Huterer et al. https://arxiv.org/pdf/1611.09862.pdf

We therefore assume max = 20 if cos(θ) < 0.95 and max = 200 otherwise

Although the truncation could be user configurable.

I do not believe that any flat-sky approximation is used for the equation in question.

Finally, the application in question assumes spectroscopic redshifts, which effectively have delta-function uncertainties. The science is not feasible in the LSST era with photo-z uncertainties.

AlexGKim avatar Aug 08 '18 17:08 AlexGKim

@AlexGKim - can I ask if this is still something you would want? Sorry this issue has been hanging so long.

c-d-leonard avatar May 27 '21 09:05 c-d-leonard

@c-d-leonard yes, this is something we still want to include, and the peculiar velocity folks have expressed more interest on it lately. I'd actually try to make this happen soon-ish

damonge avatar May 27 '21 09:05 damonge

Okay, good to know. Do you think it would make sense to include it in the v3 milestone? (v3 is basically the proxy for the version we want for paper 2).

c-d-leonard avatar May 27 '21 13:05 c-d-leonard

If we could do it quickly enough...

damonge avatar May 27 '21 17:05 damonge

Having it sooner than later would be great. I am unfamiliar with CCL but if you need help let me know.

AlexGKim avatar May 27 '21 17:05 AlexGKim

@AlexGKim Based on previous experience our main bottleneck is gonna be getting a benchmark (i.e. the observable calculated with a different code to compare with)

damonge avatar May 27 '21 17:05 damonge

@damonge . For example, you would like the correlation function as a function of redshift for a fiducial cosmology? I ask because I probably don't have the benchmark you are looking for (the reason I am interested in the CCL!) so we will have to engage others.

AlexGKim avatar May 27 '21 20:05 AlexGKim

@AlexGKim yes that's about right - from an independent code. This can be anything from another existing public code base to something somebody has sitting on their laptop from a project five years ago and is willing to put public on github. I'm guessing someone in the supernova group will have at least some version of this coded up somewhere?

Also, just to check - I'm guessing this really does need the full bessel function treatment as in eq 29 of the linked paper since we are talking about the correlation for individual SN redshifts right? there's no equivalent to the Limber approximated version here?

c-d-leonard avatar May 28 '21 08:05 c-d-leonard