Skip to content

Commit

Permalink
Fix ups.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelJwilson committed Jan 18, 2022
1 parent d093bf8 commit 24e30d0
Show file tree
Hide file tree
Showing 6 changed files with 735 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gen_gold_lf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def process_cat(fpath, vmax_opath, field=None):
## Luminosity fn.
opath = opath.replace('vmax', 'lumfn')

result = lumfn(gama_vmax, VV)
result = lumfn(gama_vmax)

print('Writing {}.'.format(opath))

Expand Down
2 changes: 2 additions & 0 deletions logs/gama_lumfn.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ Found redshift limits: 0.039 < z < 0.263
Retrieved area 180.0000 [sq. deg.]
WARNING: Found 0.075% with zmax < 0.0
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_vmax.fits.
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_lumfn.fits.
Done.
242 changes: 242 additions & 0 deletions logs/gama_lumfn_d8_G12.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,245 @@ Found redshift limits: 0.040 < z < 0.248
Retrieved area 60.0000 [sq. deg.]
WARNING: Found 0.000% with zmax < 0.0
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_0_vmax.fits.
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_0_lumfn.fits.
PROCESS CAT FINISHED.
MEDIAN_M PHI_N ... N V_ON_VMAX
------------------- ---------------------- ... ---- --------------------
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
... ... ... ... ...
-16.740951649692917 1.3959422305590999e-05 ... 3.0 0.01711404067596624
-16.659826078008454 3.257198537971233e-05 ... 7.0 0.015012879240296317
-16.561016966744237 4.653140768530333e-05 ... 10.0 0.012429700350083138
-16.47329403935433 1.3959422305590999e-05 ... 3.0 0.010470633869063644
-16.349817938275983 2.7918844611181998e-05 ... 6.0 0.008138253432840999
-16.231860848664375 9.306281537060667e-06 ... 2.0 0.006280074504121661
-16.139512804674098 9.306281537060667e-06 ... 2.0 0.004865738155288612
-16.06060559061654 4.653140768530333e-06 ... 1.0 0.003986100337996181
-15.959100249556663 4.653140768530333e-06 ... 1.0 0.002837409274042242
-- 0.0 ... 0.0 --
-15.759701100596667 4.653140768530333e-06 ... 1.0 0.001052332197901758
Length = 99 rows
Found vol renormalisation scale of 0.301
Found d8 renormalisation scale of -0.915
MEDIAN_M PHI_N ... N V_ON_VMAX
------------------- ---------------------- ... ---- --------------------
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
... ... ... ... ...
-16.740951649692917 4.6428299804523936e-05 ... 3.0 0.01711404067596624
-16.659826078008454 0.0001083326995438892 ... 7.0 0.015012879240296317
-16.561016966744237 0.00015476099934841312 ... 10.0 0.012429700350083138
-16.47329403935433 4.6428299804523936e-05 ... 3.0 0.010470633869063644
-16.349817938275983 9.285659960904787e-05 ... 6.0 0.008138253432840999
-16.231860848664375 3.0952199869682624e-05 ... 2.0 0.006280074504121661
-16.139512804674098 3.0952199869682624e-05 ... 2.0 0.004865738155288612
-16.06060559061654 1.5476099934841312e-05 ... 1.0 0.003986100337996181
-15.959100249556663 1.5476099934841312e-05 ... 1.0 0.002837409274042242
-- 0.0 ... 0.0 --
-15.759701100596667 1.5476099934841312e-05 ... 1.0 0.001052332197901758
Length = 99 rows
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_0_lumfn.fits

Reading: /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_1.fits
Found fields: [b'G12']
Found redshift limits: 0.039 < z < 0.248
Retrieved area 60.0000 [sq. deg.]
WARNING: Found 0.058% with zmax < 0.0
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_1_vmax.fits.
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_1_lumfn.fits.
PROCESS CAT FINISHED.
MEDIAN_M PHI_N ... N V_ON_VMAX
------------------- --------------------- ... ---- ---------------------
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
... ... ... ... ...
-16.749798383390832 5.581790706076068e-05 ... 12.0 0.017526295044526786
-16.636688775758195 2.790895353038034e-05 ... 6.0 0.014333657175260698
-16.57595900591837 2.790895353038034e-05 ... 6.0 0.012779287125229681
-16.45834523178861 1.860596902025356e-05 ... 4.0 0.01022516017150832
-16.384969299837056 1.395447676519017e-05 ... 3.0 0.008684354016209565
-16.26855564991519 1.395447676519017e-05 ... 3.0 0.006797678586306946
-16.146461558177364 1.860596902025356e-05 ... 4.0 0.0051454448356892295
-16.059952645794596 1.860596902025356e-05 ... 4.0 0.004104126782888122
-15.946487415059092 4.65149225506339e-06 ... 1.0 0.0028093178511210694
-15.883966293879894 9.30298451012678e-06 ... 2.0 0.0022595563171305165
-15.724478023364936 4.65149225506339e-06 ... 1.0 0.0009319416757073396
Length = 99 rows
Found vol renormalisation scale of 0.155
Found d8 renormalisation scale of -0.224
MEDIAN_M PHI_N ... N V_ON_VMAX
------------------- ---------------------- ... ---- ---------------------
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
... ... ... ... ...
-16.749798383390832 0.00036076544385949303 ... 12.0 0.017526295044526786
-16.636688775758195 0.00018038272192974652 ... 6.0 0.014333657175260698
-16.57595900591837 0.00018038272192974652 ... 6.0 0.012779287125229681
-16.45834523178861 0.00012025514795316433 ... 4.0 0.01022516017150832
-16.384969299837056 9.019136096487326e-05 ... 3.0 0.008684354016209565
-16.26855564991519 9.019136096487326e-05 ... 3.0 0.006797678586306946
-16.146461558177364 0.00012025514795316433 ... 4.0 0.0051454448356892295
-16.059952645794596 0.00012025514795316433 ... 4.0 0.004104126782888122
-15.946487415059092 3.0063786988291084e-05 ... 1.0 0.0028093178511210694
-15.883966293879894 6.012757397658217e-05 ... 2.0 0.0022595563171305165
-15.724478023364936 3.0063786988291084e-05 ... 1.0 0.0009319416757073396
Length = 99 rows
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_1_lumfn.fits

Reading: /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_2.fits
Found fields: [b'G12']
Found redshift limits: 0.042 < z < 0.248
Retrieved area 60.0000 [sq. deg.]
WARNING: Found 0.054% with zmax < 0.0
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_2_vmax.fits.
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_2_lumfn.fits.
PROCESS CAT FINISHED.
MEDIAN_M PHI_N ... N V_ON_VMAX
------------------- ---------------------- ... --- ---------------------
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
... ... ... ... ...
-16.72716766679641 2.327808668983176e-05 ... 5.0 0.015947328819278253
-16.65606635089379 1.8622469351865406e-05 ... 4.0 0.013912916004290763
-16.54096769997666 2.327808668983176e-05 ... 5.0 0.01114373937443421
-16.44783744420218 2.327808668983176e-05 ... 5.0 0.009034487013940686
-16.346886683136404 2.7933704027798108e-05 ... 6.0 0.007350956265230744
-16.268333154532286 9.311234675932703e-06 ... 2.0 0.006036069915045775
-16.1189057603977 9.311234675932703e-06 ... 2.0 0.0038615933242749545
-16.041177884254317 1.8622469351865406e-05 ... 4.0 0.002999595653967763
-- 0.0 ... 0.0 --
-15.878800659290333 9.311234675932703e-06 ... 2.0 0.0013060776318467098
-- 0.0 ... 0.0 --
Length = 99 rows
Found vol renormalisation scale of 0.093
Found d8 renormalisation scale of 1.066
MEDIAN_M PHI_N ... N V_ON_VMAX
------------------- ---------------------- ... --- ---------------------
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
-- 0.0 ... 0.0 --
... ... ... ... ...
-16.72716766679641 0.00024976310426716615 ... 5.0 0.015947328819278253
-16.65606635089379 0.0001998104834137329 ... 4.0 0.013912916004290763
-16.54096769997666 0.00024976310426716615 ... 5.0 0.01114373937443421
-16.44783744420218 0.00024976310426716615 ... 5.0 0.009034487013940686
-16.346886683136404 0.00029971572512059935 ... 6.0 0.007350956265230744
-16.268333154532286 9.990524170686645e-05 ... 2.0 0.006036069915045775
-16.1189057603977 9.990524170686645e-05 ... 2.0 0.0038615933242749545
-16.041177884254317 0.0001998104834137329 ... 4.0 0.002999595653967763
-- 0.0 ... 0.0 --
-15.878800659290333 9.990524170686645e-05 ... 2.0 0.0013060776318467098
-- 0.0 ... 0.0 --
Length = 99 rows
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_2_lumfn.fits

Reading: /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_3.fits
Found fields: [b'G12']
Found redshift limits: 0.045 < z < 0.248
Retrieved area 60.0000 [sq. deg.]
WARNING: Found 0.093% with zmax < 0.0
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_3_vmax.fits.
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_3_lumfn.fits.
PROCESS CAT FINISHED.
MEDIAN_M PHI_N PHI_N_ERROR PHI_IVMAX PHI_IVMAX_ERROR N V_ON_VMAX
-------- ----- ----------- --------- --------------- --- ---------
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
... ... ... ... ... ... ...
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
Length = 99 rows
Found vol renormalisation scale of 0.013
Found d8 renormalisation scale of 4.887
MEDIAN_M PHI_N PHI_N_ERROR PHI_IVMAX PHI_IVMAX_ERROR N V_ON_VMAX
-------- ----- ----------- --------- --------------- --- ---------
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
... ... ... ... ... ... ...
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
-- 0.0 0.0 0.0 0.0 0.0 --
Length = 99 rows
Writing /cosma5/data/durham/dc-wils7/GAMA4//gama_gold_G12_ddp_n8_d0_3_lumfn.fits
Done.
Loading

0 comments on commit 24e30d0

Please sign in to comment.