EoRImaging / eppsilon

eppsilon - error propagated power spectrum with interleaved observed noise
BSD 2-Clause "Simplified" License
5 stars 4 forks source link

kz calculation #101

Closed nicholebarry closed 4 years ago

nicholebarry commented 5 years ago

kz is calculated in mpc from z's (and stuff) in ps_kcube.pro. This assumes that there is a direct mapping between frequencies and kz. Should we calculated kz through etas instead?

Note. Proposed code would look like this...

  eta_range = (2.*!pi) / (f_delta)
  eta_delta = (2.*!pi) / (n_freq*f_delta)
  min_eta = min(kz_integers)*eta_delta
  eta = findgen(round(eta_range / eta_delta)) * eta_delta + min_eta
  kz_mpc_orig = ((z0_freq*Ez) / (hubble_distance*(1+redshifts)^2.))*eta
bhazelton commented 4 years ago

I think this is now being tracked in #123