Comments (4)
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.
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.
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.
that works, thanks!
Sent from Gmail
from treecorr.
Related Issues (20)
- Avoiding repeated writing of identical patches with save_patch_dir HOT 1
- MPI Crash when many patches empty HOT 8
- Computing NN correlation from simulated catalogues without a random catalogue HOT 5
- NNCorrelation error under MPI in 4.2.0 HOT 2
- Bug when using patches and the Rlens metric HOT 2
- Access correlation function for jackknife HOT 2
- multiply-occurring objects bias results low HOT 4
- Installing error on windows HOT 17
- Measuring the correlation function xi by patches HOT 4
- Problem with NN_correlation when setting low_mem=True HOT 1
- NG doesn't work as expected in simulation box with x, y, z HOT 7
- Computing "scaled counts-in-spheres" HOT 4
- TwoD Binning in Rperp metric. HOT 2
- Feature request: create Catalog using derived quantities HOT 3
- possible weight issue for 2pt correlation with cartesian coordinates HOT 2
- bin_slop definition and implementation HOT 7
- Let varg, vark be specifiable by the user, rather than computed
- Outlier point in NN Correlation HOT 3
- is bin_slop in log or linear space when using log binning? HOT 3
- write_patch_results HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treecorr.