danielapai / bioverse

A simulation framework to assess the statistical power of future biosignature surveys
MIT License
7 stars 6 forks source link

Survey measurement not done when total survey duration provided #45

Open matiscke opened 9 months ago

matiscke commented 9 months ago

a custom measurement without a defined duration, e.g., a derived quantity that doesn't actually use telescope time, won't be measured if survey.observe() is called with the t_total parameter (total survey duration).

The data table in

detected = survey.compute_yield(sample)
data = survey.observe(detected)

will contain the measurement, but

detected = survey.compute_yield(sample)
data = survey.observe(detected, t_total=1e11)

won't (no matter how large the t_total).