22 September 2011

New coding! still working on this in idl

After finishing an RV generator for Sasha, but before making the efficiency plot, I was given another job by Professors Johnson and Knutson.

These are the directions, and the code I am working on currently.
  1. get timestamps, and average precision for each target.
  2. plot points, i.e.calculate the Keplerian orbit, f(t; P, e, om, Tp, msini),  where msini is directly related to K, P, e and Mstar; see this
  3. plot another point some t later
  4. linear fit, save the slope (use this code)
  5. repeat 2) to 4) many times (in delta_v/delta_t array)
  6. multiply by sqrt(Nobs)/precision to get SN_simulated
  7. compare SN < SN_simulated for efficiency

No comments:

Post a Comment