An open API service indexing awesome lists of open source software.

https://github.com/msyriac/weak-lensing

Implement KSB methods for determining cosmic shear and confirm the emergence of bias. Explore Bayesian methods of inferring shear.
https://github.com/msyriac/weak-lensing

Last synced: about 2 months ago
JSON representation

Implement KSB methods for determining cosmic shear and confirm the emergence of bias. Explore Bayesian methods of inferring shear.

Awesome Lists containing this project

README

        

============
weak-lensing
============

Implement KSB methods for determining cosmic shear and confirm the emergence of bias. Explore Bayesian methods of inferring shear.

toy.py
======

uncorrelated galaxies for a given shear
---------------------------------------
Do not use the -p option
E.g.
python toy.py -n -1 -2 -e -s -t -i
Add -d if you want to display average time per galaxy

This will save a file "g

The CSV files are comma separated with the format P,Q1,Q2,R11,R12,R22.

correlated pairs
----------------

Use the -p option but don't specify -1 or -2
E.g.
python toy.py -p -n -e -s -t -i

This will draw n pairs (g,h) from generate_pairs.py.
It will calculate P,Q,R for these pairs.

And it will save files "g

The CSV files are comma separated with the format P,Q1,Q2,R11,R12,R22.

postprocess.py (for uncorrelated galaxies of a given shear)
===========================================================

This will process every CSV file in a specified directory assuming they contain P,Q,R for uncorrelated galaxies of a specified shear.
And it will infer that shear.
No command line options yet.

pairs_postprocess.py (for correlated pairs)
===========================================

This will process every CSV file in a specified directory assuming they contain P,Q,R for correlated pairs.
And it will try to infer the covmat.
No command line options yet.