load_default_power¶
-
randomfield.powertools.load_default_power()[source] [edit on github]¶ Loads a default power spectrum P(k,z) with 1e-4 <= k <= 22 and z = 0.
The default power spectrum was created using:
from randomfield.power import calculate_power result = calculate_power(1e-4, 22.) np.savetxt('default_power.dat', result)
The range of k values used here is sufficient to cover grids with spacing >= 0.25 Mpc/h and and box dimensions <= 50 Gpc/h.