Added pixel shifting in ICgen
This commit is contained in:
parent
a82688b0b1
commit
7258dd20cb
4 changed files with 19 additions and 16 deletions
|
@ -8,9 +8,9 @@ cosmo['omega_k_0'] = 0
|
|||
cosmo['omega_B_0']=0.049
|
||||
cosmo['SIGMA8']=0.8344
|
||||
|
||||
zstart=200
|
||||
zstart=50
|
||||
astart=1/(1.+zstart)
|
||||
snapid=1
|
||||
halfPixelShift=True
|
||||
|
||||
if __name__=="__main__":
|
||||
bic.write_icfiles(*bic.run_generation("initial_condition_borg.dat", 0.001, astart, cosmo, do_lpt2=False), **cosmo)
|
||||
bic.write_icfiles(*bic.run_generation("initial_condition_borg.dat", 0.001, astart, cosmo, supersample=2, shiftPixel=halfPixelShift, do_lpt2=False), **cosmo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue