Skip to content

Commit

Permalink
addressed changes requested by X. Notably, shifted common code to zdm
Browse files Browse the repository at this point in the history
  • Loading branch information
Clancy James committed Aug 2, 2024
1 parent 7662cdd commit 5210db2
Show file tree
Hide file tree
Showing 3 changed files with 473 additions and 374 deletions.
9 changes: 3 additions & 6 deletions papers/Vvmax/calc_lf_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@
"""


import numpy as np
import os
from matplotlib import pyplot as plt
from scipy.optimize import curve_fit
from RLFs import *



import matplotlib
#matplotlib.rcParams['image.interpolation'] = None
defaultsize=16
Expand Down Expand Up @@ -339,7 +336,7 @@ def read_data(infile):
return FRBs,JHz,V,Vmax,VVmax

# does the bias-corrected localised plots (limiting zmax to 0.7)
if False:
if True:
prefix="UnbiasedLocalised"
postfix="localised_"
NSFR=21
Expand All @@ -349,7 +346,7 @@ def read_data(infile):
#main(loc=False,v2=True)

# calculates errors for the version of the zDM plot accounting for hosts with -ve redhsifts
if False:
if True:
prefix="Minz"
postfix="Minzmacquart_"
SFRs = [0]
Expand All @@ -370,7 +367,7 @@ def read_data(infile):
# standard calculation for localised sample
if True:
prefix="zMacquart"
postfix="v2macquart_"
postfix="macquart_"
NSFR=21
SFRs = np.linspace(0,2,NSFR)
alphas=[0,-1.5]
Expand Down
Loading

0 comments on commit 5210db2

Please sign in to comment.