Skip to content

Commit

Permalink
Merge pull request #131 from chihway/issue/#128
Browse files Browse the repository at this point in the history
  • Loading branch information
yymao committed Dec 2, 2020
2 parents 9a99be2 + bca0405 commit 4e42d57
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 102 deletions.
329 changes: 239 additions & 90 deletions descqa/DeltaSigmaTest.py

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions descqa/configs/delta_sigma.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions descqa/configs/delta_sigma_cfhtlens.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
subclass_name: DeltaSigmaTest.DeltaSigma

data: 'cfhtlens'
zmin_l: 0.2
zmax_l: 0.4
zmin_s: 0.41
zmax_s: 1.0
max_background_galaxies: 100000
zmax: 3.0
Rmin: 0.05
Rmax: 15.0
nR: 20

description: 'Plot Delta Sigma for CFHTLenS sample.'

data_filename: 'delta_sigma/cfhtlens_DS.dat'


18 changes: 18 additions & 0 deletions descqa/configs/delta_sigma_sdss_lowz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
subclass_name: DeltaSigmaTest.DeltaSigma

data: 'sdss_lowz'
zmin_l: 0.16
zmax_l: 0.36
zmin_s: 0.4
zmax_s: 1.0
max_background_galaxies: 2000000
zmax: 3.0
Rmin: 0.15
Rmax: 15.0
nR: 20

description: 'Plot Delta Sigma for SDSS lowz sample.'

data_filename: 'delta_sigma/lowz_DS.dat'


18 changes: 18 additions & 0 deletions descqa/configs/delta_sigma_sdss_main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
subclass_name: DeltaSigmaTest.DeltaSigma

data: 'sdss_main'
zmin_l: 0.03
zmax_l: 0.2
zmin_s: 0.2
zmax_s: 2.0
max_background_galaxies: 5000000
zmax: 3.0
Rmin: 0.05
Rmax: 15.0
nR: 15

description: 'Plot Delta Sigma for SDSS main sample.'

data_filename: 'delta_sigma/SDSS_main.dat'


33 changes: 33 additions & 0 deletions descqa/data/delta_sigma/SDSS_main.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# sm_10.0_10.4. - sm_10.4_10.7. - sm_10.7_11.0. - sm_11.0_11.2. - sm_11.2_11.4. - sm_11.4_11.6. - sm_11.6_15.0. - sm_11.0_15.0.
0.0311 65.8783 18.9344 61.9196 13.0131 93.3872 12.4217 118.1653 20.0649 194.7301 29.1179 241.0116 51.2156 123.9511 125.8373 150.1394 15.5774
0.0463 1.4346 11.6211 49.1081 8.4366 41.8822 8.8239 83.6951 12.6854 130.7626 20.7573 88.4524 39.9078 274.5308 108.5744 100.1610 10.1663
0.0691 20.4154 7.5836 28.2796 5.8869 37.5382 5.4583 53.5450 8.6428 104.5674 13.4075 146.4233 27.3994 228.3246 75.8749 78.4414 7.4277
0.1031 14.5633 4.8577 22.1467 4.4426 28.9896 4.1781 46.4539 5.8538 75.5565 8.2604 150.7921 15.8059 164.0043 46.7367 65.3027 4.7271
0.1539 15.0833 3.7511 13.8391 2.6615 24.0852 2.4469 30.9021 4.3999 60.1134 5.5348 101.4070 11.2642 208.0974 31.0941 47.7740 3.4957
0.2296 7.9606 2.4004 11.5377 1.8336 14.8844 1.7495 28.9549 2.5888 41.8932 3.6538 68.7521 6.9105 149.3126 19.9220 37.6655 1.9830
0.3425 8.0848 1.6377 7.4337 1.2313 10.8529 1.0654 19.9247 1.7677 28.8274 2.2981 59.7830 5.3201 97.0246 11.3561 26.9154 1.4025
0.5109 8.8048 1.1057 6.8557 0.8242 7.3906 0.8581 12.4569 1.1773 19.2404 1.7361 36.4550 3.3648 62.6495 8.4731 17.1493 0.9772
0.7622 8.3289 0.8918 7.0944 0.6184 5.9089 0.5541 8.0206 0.6450 12.5528 1.1205 24.2217 1.9856 56.8304 5.6280 11.3917 0.5685
1.1370 6.8616 0.7329 5.1447 0.4827 4.7326 0.3808 5.6258 0.5459 7.8710 0.7427 14.5363 1.4422 34.3369 3.8904 7.4269 0.4617
1.6962 4.0786 0.4922 3.9787 0.3567 3.5252 0.2931 2.9547 0.3468 5.7556 0.5251 9.8634 0.9090 19.1795 2.4852 4.5804 0.2972
2.5305 2.6655 0.3574 2.5846 0.2596 2.2926 0.1960 2.4923 0.2510 3.2237 0.3367 4.7879 0.6359 10.2602 1.5515 2.9989 0.2040
3.7751 2.1241 0.3146 1.6837 0.2092 1.7342 0.1354 1.9384 0.1828 2.3734 0.2419 3.4252 0.4381 5.7596 1.1141 2.2357 0.1439
5.6317 1.3395 0.2766 1.0527 0.1554 0.9782 0.1209 0.9359 0.1389 1.3864 0.1862 1.6271 0.3164 3.9240 0.7485 1.1638 0.1154
8.4015 1.1952 0.2399 1.0302 0.1404 0.9734 0.1021 0.9562 0.1032 1.1077 0.1198 1.0558 0.2039 1.8688 0.5456 1.0154 0.0856
### now blue
0.0311 31.8320 12.7372 42.9945 14.5289 52.6648 18.6471 0 0 0 0 0 0 0 0 51.1702 38.7727
0.0463 28.6088 8.9452 31.4791 9.5337 48.7484 11.8591 0 0 0 0 0 0 0 0 68.4427 24.5416
0.0691 19.2753 6.2461 25.3732 6.9073 38.9905 7.6969 0 0 0 0 0 0 0 0 49.0322 18.5488
0.1031 5.3614 3.8921 11.4356 4.4853 11.3160 5.8911 0 0 0 0 0 0 0 0 16.8147 11.6280
0.1539 2.1075 2.8465 9.7460 2.9633 7.9675 3.6294 0 0 0 0 0 0 0 0 18.7711 8.1268
0.2296 1.6913 1.9614 3.5010 1.9645 6.1016 2.8005 0 0 0 0 0 0 0 0 13.5637 5.3588
0.3425 2.2019 1.2255 3.7446 1.4333 3.9767 1.6992 0 0 0 0 0 0 0 0 11.9175 3.5979
0.5109 1.8917 0.8756 0.4025 0.8246 2.1803 1.0908 0 0 0 0 0 0 0 0 6.6147 2.2515
0.7622 1.0365 0.5423 0.8537 0.6714 3.0932 0.7994 0 0 0 0 0 0 0 0 3.9254 1.5931
1.1370 0.9939 0.3560 2.4580 0.4125 1.3310 0.5200 0 0 0 0 0 0 0 0 2.6932 0.9890
1.6962 0.7313 0.2489 1.0267 0.2687 1.1304 0.3505 0 0 0 0 0 0 0 0 1.6812 0.7423
2.5305 0.9611 0.1941 0.6965 0.1915 1.2736 0.2340 0 0 0 0 0 0 0 0 1.3637 0.5008
3.7751 0.6829 0.1377 0.4643 0.1379 0.7637 0.1559 0 0 0 0 0 0 0 0 0.9047 0.3052
5.6317 0.4175 0.1167 0.5850 0.0996 0.6485 0.1188 0 0 0 0 0 0 0 0 0.2573 0.2278
8.4015 0.4899 0.1051 0.5051 0.0872 0.6909 0.0797 0 0 0 0 0 0 0 0 0.7226 0.1467

31 changes: 31 additions & 0 deletions descqa/data/delta_sigma/cfhtlens_DS.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
27.32544002514793 71.36794385670956 40.87567789025284 154.17200991599807 43.574737621950256 221.45987774015387 1104.236760674496 0.3243471573846256 0.3243471573846256
33.15296598620715 71.36794385670956 27.109469504364252 83.54777065559566 12.796566090436505 168.14262798566588 184.31056873118465 1158.9293021953945 0.3248251719868593
40.74502858901077 32.32616163483769 19.06578876599248 50.786986919029324 0.3119176979971435 116.46306027009518 46.50119512685885 888.4082326599048 0.3253910066787122
50.075681174649375 16.46495353906723 20.819549965238835 61.50345761365916 21.05115175679724 106.24678308940366 8.907601209093013 83.18596329593213 185.63111068705462
60.75500900228657 29.6031264063913 19.06578876599248 45.275598244605156 47.042848867879194 67.13573501306979 80.66749384119386 272.4889073715227 0.31415416166080246
74.66796725679558 22.0774568483865 12.279253761216403 48.87908090468613 25.493117397515217 67.13573501306979 106.24678308940366 186.20359814444305 0.3146592781254662
91.76700696484245 14.642158223581927 9.430230170174896 30.8723742126673 12.315839690073183 58.49855460417568 0.29818216157177135 217.3713071086545 400.6847007630177
111.33758350319506 7.032888918362327 3.280375554680643 25.493117397515217 10.979328439817076 44.41482044007137 0.29818216157177135 122.68264900139259 0.3279275328684077
135.08185469185102 12.279253761216403 4.664335798217767 18.76668704616236 30.8723742126673 38.70074258131482 48.68557672418956 90.50667242883095 0.32845479501000313
166.01573547193036 13.807892223649676 1.720555910349656 17.38316202673981 7.205302067266038 25.603153556178352 19.439103676863578 59.53576646372666 59.53576646372666
204.03350610752773 5.093383410334447 4.664335798217767 10.566869894143291 16.101633778226255 24.454413801515795 33.72179514642179 84.11549004946072 8.821290406425433
247.5464578723772 8.14381736419899 3.093469652525361 10.566869894143291 1.4991535058811285 17.733882546262457 1.7063079579734464 45.69987552152059 0.3299974901657823
300.33914514445405 9.430230170174896 1.9347470975726495 10.169906107810387 4.057055425154077 19.43910367686354 4.081739601742646 30.06161914316424 94.63930247716259
369.1171118867926 6.6321761261429115 0.9854408769969275 9.420156324552233 5.511201310453398 17.73388254626242 12.283275553324998 26.851474235884726 36.455948877476764
453.6453022869057 7.679807220826359 3.1855521071378816 7.778771708015227 0.32409283797469945 14.096873644493112 0.29818216157177135 40.95116234469306 0.3444654759012011
550.3914031276074 6.073506357775315 1.2460670191231271 7.778771708015227 3.224292552893176 9.764121475599143 9.764121475599143 25.92420258947148 2.6170960186570427
676.4315888029453 5.727456289384189 0.6535617458144355 5.304162957435254 2.3735539417127525 6.16980065617274 0.3268541977913682 14.633374198087548 57.951140597300494
820.6899297848987 5.897943894905668 1.3606861422352363 5.304162957435254 0.9838355701156519 7.761616010026629 3.7236845836613814 23.18689580936767 29.167617627877835
995.7133463300634 5.897943894905668 0.9854408769969275 4.7285567751367035 1.4991535058811285 6.16980065617274 2.579189508865956 23.22728661395054 0.33368490909504517
1208.0629139919708 5.561896845973833 0.6163237693451467 4.913127387829662 0.6456526467954239 5.628578456559475 2.579189508865956 7.980158924045541 21.552424667300237
1484.7105380678452 4.946152653802358 0.5644069548772311 4.21541520408014 1.2862590328098475 5.628578456559475 1.6297508346206335 10.050627594007667 0.32220478192466295
1824.7107466990387 4.27142955592012 0.7793270403223097 3.480913840205778 1.3364658145103174 4.474223796917937 0.5172685909797488 8.639542995159958 8.314432130544514
2213.855413281759 4.147958425960482 0.37432463315657916 2.466201302443455 0.5331529933327429 2.5791895088659453 0.29818216157177013 2.856192735739524 0.3489680307348634
2720.8305327381468 2.8328873125274576 0.5985081431652515 1.4991535058811285 0.3119176979971435 1.7864613323675336 0.29818216157177013 1.4377541299247367 0.31161985547332977
3343.903465179891 2.0516435576426306 0.48741410089236703 1.3364658145103174 0.8770700274526094 1.7864613323675336 0.29818216157177013 2.554268634200163 0.3242820281011037
4057.0368762677977 1.5300773131295387 0.4087567789025292 1.3886323266106664 0.32409283797469945 1.4200793090549477 1.02981489875652 1.6174171037863485 7.75321035775655
4922.255796792646 1.1750698797794814 0.32326161634837686 1.0222378020440424 0.575586614115958 1.02981489875652 1.5566286088832784 0.3380012947421292 0.3380012947421292
6127.924880516062 1.1081179432360253 0.4463561558581178 1.1914329428892731 0.4752953894966624 0.5936421385037344 0.29818216157177013 0.3259360080060824 13.798102993198821
7339.58732149107 0.7567995962858456 0.27916429576905266 0.8441212883780731 0.3119176979971435 0.8186120815402999 0.29818216157177013 0.2594857874273294 8.095299467085022
9020.360210610163 0.7567995962858456 0.3048431447347966 0.42371647557419867 0.1970094305762273 0.7132955875481308 0.3121891913827842 1.8967629858156607 0.537365882173909

0 comments on commit 4e42d57

Please sign in to comment.