danielapai / bioverse

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

Add planetary evolution functionality: past HZ occupancy and UV flux #34

Open matiscke opened 11 months ago

matiscke commented 11 months ago

This adds a method evolve() to the Table class, which adds a new attribute evolution to the Table. evolution includes for each planet the time evolution of the habitable zone and its received NUV flux.

The evolution attribute contains for each planet:

There is further a new function past_hz_uv that determines which planets were both in the HZ and had NUV fluxes above a threshold value for more than a specified minimum time range.

matiscke commented 3 months ago

The current way to simulate measurement errors, drawing from a log-normal distribution (to reflect the scatter of the NUV data in Richey-Yowell et al. (2023) at each point in time leads to extreme outliers.

This is problematic, as we may neet to estimate the maximum past NUV flux, which can then take on extremely high values (especially for large sigma_nuv_dex, see right panel (log scale!)). image

I think it would be better to draw a bias for each planet that is applied evenly to the whole time evolution.

matiscke commented 3 months ago

better. image