rmjarvis / TreeCorr

Code for efficiently computing 2-point and 3-point correlation functions. For documentation, go to
http://rmjarvis.github.io/TreeCorr/
Other
97 stars 37 forks source link

Add 2pt correlations of complex spin-0 fields using the letter Z #174

Closed rmjarvis closed 4 months ago

rmjarvis commented 4 months ago

I've recently added spin-1, spin-3 and spin-4 fields to TreeCorr. Spin-0 fields can be done using just multiple calls to NK or KK, but it seems worth having a letter for complex spin-0 fields for cases where that might be relevant. I don't have any specific use cases in mind. This is just for overall API consistency really.

The new implemented classes are NZCorrelation, KZCorrelation, and ZZCorrelation. If someone wants additional pairing of Z with G, T, or Q, let me know. It's not particularly hard, but I won't bother with those until someone requests it.