Previous generation survey: SDSS
Current generation survey: DES
LSST precursor survey: HSC
import tensorflow as tf import flowpm # Defines integration steps stages = np.linspace(0.1, 1.0, 10, endpoint=True) initial_conds = flowpm.linear_field(32, # size of the cube 100, # Physical size ipklin, # Initial powerspectrum batch_size=16) # Sample particles and displace them by LPT state = flowpm.lpt_init(initial_conds, a0=0.1) # Evolve particles down to z=0 final_state = flowpm.nbody(state, stages, 32) # Retrieve final density field final_field = flowpm.cic_paint(tf.zeros_like(initial_conditions), final_state) with tf.Session() as sess: sim = sess.run(final_field)
Thank you !