GithubHelp home page GithubHelp logo

Comments (4)

rmjarvis avatar rmjarvis commented on June 15, 2024

I'm not sure exactly what you want, but the xi+ and xi- are defined as xi+ = <g_+ g_+ + g_x g_x> and xi- = <g_+ g_+ - g_x g_x>. So you can recover the separate components as <g_+ g_+> = (xi+ + xi-)/2 and <g_x g_x> = (xi+ - xi-)/2.

However, these g_+ and g_x values are defined relative to the line connecting the pairs of galaxies. So they are not what you would get by setting either g1 or g2 to zero. So is this what you had in mind? Or did you want something like <g1 g1> directly without any rotations applied?

Also, I'm curious what use case you have for these + and x correlations separately. I don't know of any case where those statistics are more informative than xi+ and xi-. The latter really are the natural formulations of the shear correlation function.

from treecorr.

chazshapiro avatar chazshapiro commented on June 15, 2024

I need and (and perhaps ). If I understand the code usage correctly, when I process a catalog of (X, Y, g1, g2), g1 would be the plus shear component defined in the coordinate system for (X,Y) so that g1>0 is an elongation along the X direction.

The use case is to study detector-induced shape measurement systematics. When X and Y are aligned with the pixel grid, we naturally find much larger biases in g1.

from treecorr.

rmjarvis avatar rmjarvis commented on June 15, 2024

I suspect one point statistics would be more diagnostic in your case. (i.e. just <g1>, not <g1 g1>.) But if you really wan the two point correlation of each of the shear components separately, treating them as scalars rather than a spinor, you can get that with TreeCorr using KKCorrelation. It computes the two-point correlation function of a scalar field. In you case, you can separately run with k=g1 and k=g2.

from treecorr.

chazshapiro avatar chazshapiro commented on June 15, 2024

that works, thanks!


Sent from Gmail

from treecorr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.